Skip to content

Commit

Permalink
chore(ci): Upgrade actions
Browse files Browse the repository at this point in the history
  • Loading branch information
anishkny authored Nov 5, 2022
1 parent cb24ed9 commit 8e687dc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: "16.x"
- run: npm test
- name: Archive code coverage results
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: coverage
path: test/coverage/
- name: Release Dry Run
run: npx commit-and-tag-version --dry-run
- name: Archive test results on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: test-results
path: test/test-results/
Expand All @@ -34,8 +34,8 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "14.x"
registry-url: "https://registry.npmjs.org"
Expand Down

0 comments on commit 8e687dc

Please sign in to comment.