Skip to content

Commit

Permalink
Merge pull request #40 from AegirLeet/node20
Browse files Browse the repository at this point in the history
Use Node 20
  • Loading branch information
shivammathur authored Jan 25, 2024
2 parents d622719 + ffdf43c commit 550225c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ $ npm test
Create a release before you push your changes.

```bash
$ npm run build
$ npm run release
```

## Reporting issues

Please submit the issue using the appropriate template provided for a bug report or a feature request:

* [Issues](https://github.com/shivammathur/cache-extensions/issues)
* [Issues](https://github.com/shivammathur/cache-extensions/issues)
6 changes: 3 additions & 3 deletions .github/workflows/node-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ref: ${{ github.event.inputs.tag }}

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'
registry-url: https://registry.npmjs.org

- name: Install dependencies and add lib
Expand All @@ -46,7 +46,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Change to GitHub Packages registry
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
registry-url: https://npm.pkg.github.com
scope: '@shivammathur'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/node-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
with:
fetch-depth: 2

- name: Setup Node.js 16.x
uses: actions/setup-node@v3
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

- name: Install dependencies
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ inputs:
description: 'Key to version the cache hash.'
required: true
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'

0 comments on commit 550225c

Please sign in to comment.