Skip to content

Commit

Permalink
Upgrade workflow steps
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed Dec 19, 2023
1 parent ed49008 commit 5a7e54b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
check:
runs-on: "ubuntu-22.04"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-node@v3"
- uses: "actions/checkout@v4"
- uses: "actions/setup-node@v4"
with:
cache: "npm"
node-version: "20"
- run: "npm ci"
- run: "npm run lint"
- run: "npm run test:cover"
- run: "npm run build"
- uses: "actions/upload-artifact@v3"
- uses: "actions/upload-artifact@v4"
with:
if-no-files-found: "error"
name: "build-output"
Expand All @@ -33,13 +33,13 @@ jobs:
if: "github.ref == 'refs/heads/main'"
runs-on: "ubuntu-22.04"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-node@v3"
- uses: "actions/checkout@v4"
- uses: "actions/setup-node@v4"
with:
cache: "npm"
node-version: "20"
- run: "npm ci --omit dev"
- uses: "actions/download-artifact@v3"
- uses: "actions/download-artifact@v4"
with:
name: "build-output"
path: "lib/"
Expand Down

0 comments on commit 5a7e54b

Please sign in to comment.