Skip to content

Commit

Permalink
fix: update actions to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
SarjuHansaliya committed Apr 10, 2024
1 parent c63507e commit 0c37790
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Run docker compose tests
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
steps:
# Checkout project repository
- name: Checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4

# Setup Node.js environment
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
registry-url: https://registry.npmjs.org/
node-version: 16
node-version: 20

# Use a cache for dependencies
- uses: actions/cache@v2.1.4
- uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
package-name: release-please-action
token: ${{ secrets.GHA_NODEJS_TOKEN }}
# The logic below handles the npm publication:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# these if statements ensure that a publication only occurs when
# a new release is created:
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
registry-url: "https://registry.npmjs.org"
if: ${{ steps.release.outputs.release_created }}
- run: npm i
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- run: npm i
- run: npm test

0 comments on commit 0c37790

Please sign in to comment.