Skip to content

Commit

Permalink
Merge pull request #426 from technote-space/chore/chore-sync-workflows
Browse files Browse the repository at this point in the history
chore: sync workflows
  • Loading branch information
technote-space authored Apr 22, 2022
2 parents 9125f45 + 98269fb commit 6800875
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
cache: yarn
if: env.RUNNING
- name: Install Package dependencies
Expand Down Expand Up @@ -62,6 +62,7 @@ jobs:
FILES: |
yarn.lock
jest.config.js
vite.config.ts
if: "! contains(env.COMMIT_MESSAGE, '[skip ci]') && ! contains(env.COMMIT_MESSAGE, '[ci skip]')"
- name: Set running flag
run: echo "RUNNING=" >> $GITHUB_ENV
Expand All @@ -83,7 +84,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
cache: yarn
if: env.RUNNING
- name: Install Package dependencies
Expand Down Expand Up @@ -112,7 +113,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
cache: yarn

- uses: technote-space/load-config-action@v1
Expand Down Expand Up @@ -171,14 +172,14 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
registry-url: https://registry.npmjs.org/
cache: yarn
if: env.RUNNING && matrix.target == 'npm'
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
registry-url: https://npm.pkg.github.com
cache: yarn
if: env.RUNNING && matrix.target == 'gpr'
Expand Down

0 comments on commit 6800875

Please sign in to comment.