From dfeb99746ec2f49a8a0e5921c773016ee7e7116c Mon Sep 17 00:00:00 2001 From: Marcel Schork Date: Wed, 17 Jul 2024 12:15:01 +0200 Subject: [PATCH] chore: bump workflow tasks to latest version --- .github/workflows/node-ci.yml | 16 ++++++++-------- .github/workflows/npm-publish.yaml | 8 ++++---- .github/workflows/release-please.yml | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 7ca9823..533ae74 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -10,12 +10,12 @@ jobs: sonar-analysis: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: java-version: '17' distribution: 'adopt' - - uses: SonarSource/sonarqube-scan-action@v2.0.2 + - uses: SonarSource/sonarqube-scan-action@v2.3.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} @@ -31,16 +31,16 @@ jobs: strategy: max-parallel: 1 matrix: - node-version: [18.x, 20.x, 21.x] + node-version: [18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 with: - version: 8.15.4 + version: 9.5.0 - run: pnpm i --no-frozen-lockfile - run: pnpm test env: diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index 0d619f9..623c227 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -9,15 +9,15 @@ jobs: build-publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Setup .npmrc file to publish to npm - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: '20.x' registry-url: 'https://registry.npmjs.org' - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 with: - version: 8.15.4 + version: 9.5.0 - run: pnpm i --no-frozen-lockfile - run: pnpm build - run: pnpm publish --no-git-checks --access public diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 7e6f718..d3fcd0b 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -7,7 +7,7 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v3 + - uses: google-github-actions/release-please-action@v4 with: release-type: node package-name: 'sci-rest-client'