Skip to content

Commit

Permalink
Using nvmrc for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Nov 24, 2024
1 parent 15d4260 commit 9ef425c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v4
Expand All @@ -23,10 +20,10 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Node ${{ matrix.node-version }}
- name: Node setup
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: '.nvmrc'

- name: Run tests & linter
run: |
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# Coverage
coverage
coverage

# VSCode
.history
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22.9

0 comments on commit 9ef425c

Please sign in to comment.