Skip to content

Commit 3e8dac9

Browse files
authored
chore: Harden publish and integration test workflows against supply chain attacks (#680)
1 parent 3fe894d commit 3e8dac9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/integration_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111

1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1515

1616
- name: Set up Node 24
17-
uses: actions/setup-node@v3
17+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1818
with:
1919
node-version: 24
2020

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1616
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1717
with:
1818
node-version: "24.x"
1919
registry-url: "https://registry.npmjs.org"
2020
- run: corepack enable && corepack prepare yarn@4.10.3 --activate
21-
- run: yarn
21+
- run: yarn install --immutable
2222
- run: yarn build
2323
- run: npm publish
2424

0 commit comments

Comments
 (0)