From c936c3e6b75fdd45592dd74c3fb6ce9f3e4e60b0 Mon Sep 17 00:00:00 2001 From: MajorTanya Date: Sat, 23 Mar 2024 07:11:30 +0100 Subject: [PATCH] Bump actions/setup-node to v4 Also fix copy-paste mistake in the publishing workflow. --- .github/workflows/coveralls.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/publish.yml | 4 ++-- .github/workflows/testing.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 0f350a1..f7e7bad 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -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" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 212dbcd..e4e53a9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2a5af89..88a7702 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,7 +5,7 @@ on: types: [ created ] jobs: - lint: + publish: runs-on: ubuntu-latest permissions: contents: read @@ -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' diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 36d0915..7255d38 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -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"