Skip to content

Commit

Permalink
ci: update the versions inside CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Aug 24, 2022
1 parent 9ecd611 commit dc64cb1
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,21 @@ jobs:
- macos-latest
- windows-latest
node_version:
# - 10 # the tests do not run but it works fine
- 12
- 14
- 18
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: node_modules
with:
path: node_modules
key: ${{ runner.os }}-${{ matrix.node_version }}-${{ matrix.node_arch }}-${{ hashFiles('package.json') }}

- name: Install Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}

Expand All @@ -42,10 +41,3 @@ jobs:

- name: Tests
run: npm run test

Skip:
if: contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
steps:
- name: Skip CI 🚫
run: echo skip ci

0 comments on commit dc64cb1

Please sign in to comment.