Skip to content

Commit

Permalink
Update gh workflows to latest node and actions
Browse files Browse the repository at this point in the history
Close #13
  • Loading branch information
RavenColEvol authored and necolas committed Nov 6, 2024
1 parent bfb9df7 commit 526f406
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: compressed-size
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: necolas/compressed-size-action@master
with:
build-script: "build"
Expand All @@ -18,12 +18,12 @@ jobs:
name: benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 50
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '15.x'
node-version: '20.x'
- name: 'Setup temporary files'
run: |
echo "BASE_SHA=$(echo ${{ github.event.pull_request.base.sha }} | cut -c1-8)" >> $GITHUB_ENV
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
flow:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '15.x'
node-version: '20.x'
- run: npm install
- run: npm run flow

Expand All @@ -25,20 +25,20 @@ jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '15.x'
node-version: '20.x'
- run: npm install
- run: npm run prettier:report

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '15.x'
node-version: '20.x'
- run: npm install
- run: npm run lint:report

Expand All @@ -47,9 +47,9 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '15.x'
node-version: '20.x'
- run: npm install
- run: npm run jest

0 comments on commit 526f406

Please sign in to comment.