ci: migrate to using npm in ci

This commit is contained in:
thecodrr
2021-09-13 10:30:29 +05:00
parent e500b7c3f8
commit edcc2db642
4 changed files with 13 additions and 13 deletions

View File

@@ -22,12 +22,12 @@ jobs:
with:
persist-credentials: false
- name: Use Node.js 15.x
- name: Use Node.js 16.x
uses: actions/setup-node@v2.1.5
with:
node-version: 15.x
- run: yarn install
- run: yarn build
node-version: 16.x
- run: npm ci
- run: npm run build
- uses: easingthemes/ssh-deploy@main
env:

View File

@@ -22,10 +22,10 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 16.x
- run: yarn
- run: yarn playwright install-deps
- run: yarn playwright install
- run: yarn test
- run: npm ci
- run: npm exec playwright install-deps
- run: npm exec playwright install
- run: npm exec test
env:
USER_EMAIL: ${{ secrets.USER_EMAIL }}
USER_PASSWORD: ${{ secrets.USER_PASSWORD }}

View File

@@ -24,7 +24,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 12.x
- run: npm install
- run: npm ci
- name: ESLint Action
uses: reviewdog/action-eslint@v1
with:

View File

@@ -12,12 +12,12 @@ jobs:
with:
persist-credentials: false
- name: Use Node.js 15.x
- name: Use Node.js 16.x
uses: actions/setup-node@v2.1.5
with:
node-version: 15.x
- run: yarn install
- run: yarn build:desktop
node-version: 16.x
- run: npm ci
- run: npm run build:desktop
- name: Archive build artifact
uses: actions/upload-artifact@v2