Skip to content

Commit 56f5150

Browse files
authored
Merge pull request #220 from SpareCores/dev-651-nodejs-20-actions-are-deprecated
Dev 651 nodejs 20 actions are deprecated
2 parents 333daf6 + 48e4894 commit 56f5150

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/docker.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1717
with:
1818
fetch-depth: 0
1919
- name: Inject legal docs
@@ -27,7 +27,7 @@ jobs:
2727
VERSION="$(date -u +'%Y%m%d%H%M%S')-${GITHUB_RUN_ID}"
2828
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
2929
- name: Configure AWS credentials
30-
uses: aws-actions/configure-aws-credentials@v4
30+
uses: aws-actions/configure-aws-credentials@v6
3131
with:
3232
role-to-assume: ${{ secrets.SC_WWW_GHA_ROLE_ARN }}
3333
role-session-name: sc-www-gha
@@ -36,7 +36,7 @@ jobs:
3636
id: login-ecr
3737
uses: aws-actions/amazon-ecr-login@v2
3838
- name: Build and push Docker image
39-
uses: docker/build-push-action@v5
39+
uses: docker/build-push-action@v7
4040
with:
4141
file: Dockerfile
4242
context: .

.github/workflows/tests.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
eslint:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v4
8+
- uses: actions/checkout@v5
99
- name: Install modules
1010
run: npm install --include=dev
1111
- name: Run ESLint
@@ -17,20 +17,20 @@ jobs:
1717
needs: eslint
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2121
- name: Install modules
2222
run: npm install --include=dev
2323
- name: Set up Chrome
2424
id: setup-chrome
25-
uses: browser-actions/setup-chrome@v1
25+
uses: browser-actions/setup-chrome@v2
2626
- name: Run Jasmine Karma tests
2727
run: npm run test:ci
2828
env:
2929
CHROME_BIN: ${{ steps.setup-chrome.outputs.chrome-path }}
3030
NG_APP_BACKEND_BASE_URI: https://keeper.sparecores.net
3131
NG_APP_BACKEND_BASE_URI_SSR: https://keeper.sparecores.net
3232
NG_APP_SENTRY_DSN: ""
33-
- uses: actions/upload-artifact@v4
33+
- uses: actions/upload-artifact@v7
3434
if: failure()
3535
with:
3636
name: unit-test-coverage
@@ -42,14 +42,14 @@ jobs:
4242
needs: unit-tests
4343
runs-on: ubuntu-22.04
4444
steps:
45-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v5
4646
- name: Inject legal docs
4747
env:
4848
LEGAL_TOKEN: ${{ secrets.LEGAL_TOKEN }}
4949
LEGAL_URL: ${{ secrets.LEGAL_URL }}
5050
run: 'curl -s -L -H "Authorization: token ${LEGAL_TOKEN}" ${LEGAL_URL} | tar xz --strip-components=1'
5151
- name: Cypress run
52-
uses: cypress-io/github-action@v6
52+
uses: cypress-io/github-action@v7
5353
with:
5454
build: npm run prebuild
5555
start: npm start
@@ -59,7 +59,7 @@ jobs:
5959
CYPRESS_BASE_URL: http://localhost:4200
6060
NG_APP_BACKEND_BASE_URI: https://keeper.sparecores.net
6161
NG_APP_BACKEND_BASE_URI_SSR: https://keeper.sparecores.net
62-
- uses: actions/upload-artifact@v4
62+
- uses: actions/upload-artifact@v7
6363
if: always()
6464
with:
6565
name: cypress-screenshots

0 commit comments

Comments
 (0)