Skip to content

Commit 3901b21

Browse files
authored
ci: pin actions to SHAs (#18)
1 parent 36e8f39 commit 3901b21

File tree

2 files changed

+6
-24
lines changed

2 files changed

+6
-24
lines changed

.github/workflows/e2e_tests.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1919

2020
- name: Set up Node.js
21-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2222
with:
2323
node-version: '22'
2424

@@ -29,16 +29,7 @@ jobs:
2929
run: yarn test:e2e:coverage
3030

3131
- name: Upload coverage report
32-
uses: actions/upload-artifact@v4
32+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
3333
with:
3434
name: coverage-report
3535
path: coverage
36-
37-
- name: Comment PR with coverage
38-
if: github.event_name == 'pull_request'
39-
uses: romeovs/lcov-reporter-action@2a28ec3e25fb7eae9cb537e9141603486f810d1a
40-
with:
41-
title: E2E Tests Coverage Report
42-
lcov-file: coverage/lcov.info
43-
github-token: ${{ secrets.GITHUB_TOKEN }}
44-
delete-old-comments: true

.github/workflows/unit_tests.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1919

2020
- name: Set up Node.js
21-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2222
with:
2323
node-version: '22'
2424

@@ -29,16 +29,7 @@ jobs:
2929
run: yarn test:unit:coverage
3030

3131
- name: Upload coverage report
32-
uses: actions/upload-artifact@v4
32+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
3333
with:
3434
name: coverage-report
3535
path: coverage
36-
37-
- name: Comment PR with coverage
38-
if: github.event_name == 'pull_request'
39-
uses: romeovs/lcov-reporter-action@2a28ec3e25fb7eae9cb537e9141603486f810d1a
40-
with:
41-
title: Unit Tests Coverage Report
42-
lcov-file: coverage/lcov.info
43-
github-token: ${{ secrets.GITHUB_TOKEN }}
44-
delete-old-comments: true

0 commit comments

Comments
 (0)