mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +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:
|
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:
|
||||||
|
|||||||
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
|
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 }}
|
||||||
|
|||||||
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
|
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:
|
||||||
|
|||||||
8
apps/web/.github/workflows/release.yml
vendored
8
apps/web/.github/workflows/release.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user