Skip to content

Commit

Permalink
ci: build on Node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Oct 26, 2021
1 parent 431757b commit b155085
Show file tree
Hide file tree
Showing 5 changed files with 109 additions and 1,381 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ jobs:
CC_TEST_REPORTER_ID: 59622194cc44d91d2d1d239dffbe6af31e8cb985e6e6369c0743b67ad2cc8713
steps:
- { uses: actions/checkout@v2, with: { persist-credentials: false } }
- { uses: actions/setup-node@v1, with: { node-version: 14 } }
- uses: actions/cache@v2
with:
path: ./node_modules
key: deps-v1-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- { uses: actions/setup-node@v2, with: { node-version: 16, cache: 'yarn' } }

- name: deps
run: yarn --frozen-lockfile
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,14 @@ jobs:
env: { NODE_OPTIONS: '--max-old-space-size=3200' }
steps:
- { uses: actions/checkout@v2, with: { persist-credentials: true } }
- { uses: actions/setup-node@v1, with: { node-version: 14 } }
- { uses: actions/setup-node@v2, with: { node-version: 16, cache: 'yarn' } }

# Cache for npm/npx in ~/.npm
- uses: actions/cache@v2
with:
path: ~/.npm
key: npm-v1-${{ runner.os }}

# Normal cache for yarn in ./node_modules
- uses: actions/cache@v2
with:
path: ./node_modules
key: deps-v1-${{ runner.os }}-${{ hashFiles('yarn.lock') }}

- name: yarn
run: yarn --frozen-lockfile

Expand Down
Loading

0 comments on commit b155085

Please sign in to comment.