Skip to content

Commit

Permalink
CI: Use Node.js from .nvmrc, update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkopiu committed Jan 9, 2024
1 parent 5c0a489 commit c6eb1e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
id-token: write
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Use Node.js v18
uses: actions/setup-node@v3
uses: actions/checkout@v4
- name: Use Node.js version defined in .nvmrc
uses: actions/setup-node@v4
with:
node-version: '18'
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish --provenance --access public
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Use Node.js v18
uses: actions/setup-node@v3
uses: actions/checkout@v4
- name: Use Node.js version defined in .nvmrc
uses: actions/setup-node@v4
with:
node-version: '18'
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run full

0 comments on commit c6eb1e7

Please sign in to comment.