Skip to content

Commit

Permalink
update ci flow
Browse files Browse the repository at this point in the history
  • Loading branch information
jupe committed Mar 24, 2024
1 parent fcebf7c commit 1cb9ba5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ permissions:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
Expand All @@ -54,13 +54,13 @@ jobs:
- name: lint
run: |
npm run lint
- uses: actions/upload-artifact@v2.2.4
- uses: actions/upload-artifact@v4
if: success() || failure() # run this step even if previous step failed
with:
# Artifact name
name: logs-${{ matrix.node-version }}
path: log/*
- uses: actions/upload-artifact@v2.2.4
- uses: actions/upload-artifact@v4
with:
# Artifact name
name: coverage-report-${{ matrix.node-version }}
Expand Down

0 comments on commit 1cb9ba5

Please sign in to comment.