Skip to content

Commit

Permalink
Bumped gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zaxovaiko committed Jul 26, 2024
1 parent 5f24c7f commit 5a820ea
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/check_dependency_duplications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
units:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js 16
uses: actions/setup-node@v2.5.1
- uses: actions/checkout@v4
- name: Set up Node.js 20
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- name: Run tests
working-directory: ./actions/npm-dependency-duplications
run: |
Expand All @@ -27,12 +27,12 @@ jobs:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set Node.js 16
uses: actions/setup-node@v2.5.1
- name: Set Node.js 20
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Install dependencies and build
working-directory: ./actions/npm-dependency-duplications
Expand All @@ -51,7 +51,7 @@ jobs:
id: diff

# If index.js was different from expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand All @@ -61,5 +61,5 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ./actions/npm-dependency-duplications
20 changes: 10 additions & 10 deletions .github/workflows/check_dependency_vulnerabilities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
units:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Node.js 16
uses: actions/setup-node@v2.5.1
- uses: actions/checkout@v4
- name: Set Node.js 20
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- name: Run tests
working-directory: ./actions/npm-dependency-vulnerabilities
run: |
Expand All @@ -26,12 +26,12 @@ jobs:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set Node.js 16
uses: actions/setup-node@v2.5.1
- name: Set Node.js 20
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Install dependencies and build
working-directory: ./actions/npm-dependency-vulnerabilities
Expand All @@ -50,7 +50,7 @@ jobs:
id: diff

# If index.js was different from expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand All @@ -60,5 +60,5 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ./actions/npm-dependency-vulnerabilities

0 comments on commit 5a820ea

Please sign in to comment.