feat: upgraded to node v18, added .nvmrc and updated workflows (#314)

* feat: upgraded to node v18, added .nvmrc and updated workflows

* refactor: upgraded frontend-build & frontend-platform, updated workflows

* refactor: moved platform from devDependencies
This commit is contained in:
Bilal Qamar
2023-03-29 16:44:29 +05:00
committed by GitHub
parent 26eb2bb4c7
commit aeb0fd2be7
6 changed files with 1201 additions and 20416 deletions

View File

@@ -12,10 +12,12 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ env.NODE_VER }}
- name: Install dependencies
run: npm ci
- name: Validate package-lock.json changes
@@ -33,7 +35,7 @@ jobs:
- name: Release
uses: cycjimmy/semantic-release-action@v2
with:
semantic_version: 16
semantic_version: 20
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}