Skip to content

Commit

Permalink
Merge pull request #22 from embroider-build/fix-ci
Browse files Browse the repository at this point in the history
fix CI to remove volta
  • Loading branch information
mansona authored Oct 27, 2023
2 parents d585d77 + ce242fd commit 4a5df8a
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,16 @@ jobs:

strategy:
matrix:
node: ['16', '18']
node: ['16', '18', '20']
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: yarn

- uses: actions/cache@v2
id: yarn-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn --frozen-lockfile
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile
- name: yarn prepare
if: steps.yarn-cache.outputs.cache-hit == 'true'
run: yarn prepare
- run: yarn --frozen-lockfile
- run: yarn prepare
- run: yarn lint
- run: yarn test

0 comments on commit 4a5df8a

Please sign in to comment.