From 88336c131ee63e262b876b6c321bd14949ffe68d Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Tue, 30 Apr 2024 11:11:49 +0200 Subject: [PATCH] Update GitHub action versions --- .github/workflows/ci.yaml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 19e5118..c4c433c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,8 +8,8 @@ jobs: eslint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 22 - run: npm ci @@ -18,13 +18,13 @@ jobs: pack: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 22 - run: npm ci - run: npm pack - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: package path: '*.tgz' @@ -32,8 +32,8 @@ jobs: remark: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 22 - run: npm ci @@ -48,26 +48,26 @@ jobs: - 20 - 22 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm ci - run: npx playwright install --with-deps chromium - run: npm test - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: test-results-node${{ matrix.node-version }} path: test-results/ - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 if: ${{ matrix.node-version == 22 }} prettier: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 22 - run: npm ci @@ -76,8 +76,8 @@ jobs: tsc: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 22 - run: npm ci @@ -96,11 +96,11 @@ jobs: permissions: id-token: write steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 22 registry-url: https://registry.npmjs.org - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: { name: package } - run: npm publish *.tgz --provenance env: