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: with:
persist-credentials: false persist-credentials: false
- name: Use Node.js 15.x - name: Use Node.js 16.x
uses: actions/setup-node@v2.1.5 uses: actions/setup-node@v2.1.5
with: with:
node-version: 15.x node-version: 16.x
- run: yarn install - run: npm ci
- run: yarn build - run: npm run build
- uses: easingthemes/ssh-deploy@main - uses: easingthemes/ssh-deploy@main
env: env:

View File

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

View File

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

View File

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