Skip to content

Commit 8a291ac

Browse files
authored
Merge pull request #3096 from Akshat55/ci-provenance
feat: create npmrc file to enable publishing with provenance & bump github actions
2 parents 0b26a53 + 50a0cab commit 8a291ac

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414

1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

1919
# Initializes the CodeQL tools for scanning.
2020
- name: Initialize CodeQL
21-
uses: github/codeql-action/init@v2
21+
uses: github/codeql-action/init@v3
2222
with:
23-
languages: javascript
23+
languages: javascript-typescript
2424

2525
- name: Perform CodeQL Analysis
26-
uses: github/codeql-action/analyze@v2
26+
uses: github/codeql-action/analyze@v3

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
steps:
2626
# Checkout to branch
2727
- name: Checkout
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929

3030
# Set up node to use v20
3131
- name: Setup Node
32-
uses: actions/setup-node@v3
32+
uses: actions/setup-node@v4
3333
with:
3434
node-version: "20"
3535
cache: "npm"

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
node-version: [20.x]
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424
- run: npm i

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
provenance=true

0 commit comments

Comments
 (0)