Skip to content

Commit

Permalink
Added nvmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Ross committed Dec 29, 2023
1 parent 104eabb commit 2c12b31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lint-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
version: 8.13.0
- uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: ".nvmrc"
cache: "pnpm"
- run: pnpm i
- run: pnpm lint
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,14 @@ on:
jobs:
publish-gpr:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8.13.0
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- name: Install dependencies 📦️
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/*

0 comments on commit 2c12b31

Please sign in to comment.