Skip to content

Commit de53b80

Browse files
authored
Merge pull request #72 from github/copilot/supply-chain-improvements
Supply chain improvements
2 parents 39986e9 + e3b83ed commit de53b80

7 files changed

Lines changed: 1402 additions & 2200 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 3 additions & 3 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@v4
15+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
1616
- name: Use Node.js
17-
uses: actions/setup-node@v4
17+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
1818
with:
1919
node-version-file: '.node-version'
2020
cache: 'npm'
21-
- run: npm install
21+
- run: npm ci
2222
- run: npx playwright install chromium --only-shell
2323
- run: npm run build
2424
- run: npm run lint

.github/workflows/publish.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
contents: read
1212
id-token: write
1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
14+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
15+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
1616
with:
1717
node-version-file: '.node-version'
1818
registry-url: https://registry.npmjs.org/
@@ -25,6 +25,4 @@ jobs:
2525
- run: npm version ${TAG_NAME} --git-tag-version=false
2626
env:
2727
TAG_NAME: ${{ github.event.release.tag_name }}
28-
- run: npm whoami; npm --ignore-scripts publish --provenance
29-
env:
30-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
28+
- run: npm --ignore-scripts publish --provenance

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24
1+
26

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
min-release-age=3

0 commit comments

Comments
 (0)