Skip to content

Commit

Permalink
Bump actions/setup-node to v4
Browse files Browse the repository at this point in the history
Also fix copy-paste mistake in the publishing workflow.
  • Loading branch information
MajorTanya committed Mar 23, 2024
1 parent 0d452c0 commit c936c3e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Node v20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "npm"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Node v20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "npm"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [ created ]

jobs:
lint:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Node v20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Node v${{ matrix.version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.version }}
cache: "npm"
Expand Down

0 comments on commit c936c3e

Please sign in to comment.