mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
ci: migrate to using npm in ci
This commit is contained in:
8
apps/web/.github/workflows/deploy.yml
vendored
8
apps/web/.github/workflows/deploy.yml
vendored
@@ -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:
|
||||
|
||||
8
apps/web/.github/workflows/e2e.yml
vendored
8
apps/web/.github/workflows/e2e.yml
vendored
@@ -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 }}
|
||||
|
||||
2
apps/web/.github/workflows/eslint.yml
vendored
2
apps/web/.github/workflows/eslint.yml
vendored
@@ -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:
|
||||
|
||||
8
apps/web/.github/workflows/release.yml
vendored
8
apps/web/.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user