Skip to content

Commit

Permalink
build: specify node version
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermendes committed Sep 17, 2024
1 parent d57d99f commit 1ed39e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: package.json
- name: Setup NPM token
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
- name: Install
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"oac": "./bin/index.js"
},
"sideEffects": false,
"engines": {
"node": ">=20.8.1"
},
"bin": {
"oac": "./bin/index.js"
},
Expand Down

0 comments on commit 1ed39e7

Please sign in to comment.