Skip to content

Commit

Permalink
Update GitHub action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed Apr 30, 2024
1 parent e26ca58 commit 88336c1
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -18,22 +18,22 @@ 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'

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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 88336c1

Please sign in to comment.