diffstalker 0.1.1 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +13 -21
- package/package.json +1 -1
|
@@ -5,34 +5,26 @@ on:
|
|
|
5
5
|
tags:
|
|
6
6
|
- 'v*'
|
|
7
7
|
|
|
8
|
+
permissions:
|
|
9
|
+
id-token: write # Required for OIDC
|
|
10
|
+
contents: write # Required for GitHub release
|
|
11
|
+
|
|
8
12
|
jobs:
|
|
9
|
-
|
|
13
|
+
publish:
|
|
10
14
|
runs-on: ubuntu-latest
|
|
11
|
-
|
|
12
|
-
contents: write
|
|
13
|
-
id-token: write
|
|
14
|
-
|
|
15
|
+
environment: npm
|
|
15
16
|
steps:
|
|
16
|
-
-
|
|
17
|
-
uses: actions/checkout@v4
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
18
|
|
|
19
|
-
-
|
|
20
|
-
uses: actions/setup-node@v4
|
|
19
|
+
- uses: actions/setup-node@v4
|
|
21
20
|
with:
|
|
22
|
-
node-version: '
|
|
21
|
+
node-version: '24'
|
|
23
22
|
registry-url: 'https://registry.npmjs.org'
|
|
24
23
|
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
-
|
|
29
|
-
run: npm test
|
|
30
|
-
|
|
31
|
-
- name: Build
|
|
32
|
-
run: npm run build:prod
|
|
33
|
-
|
|
34
|
-
- name: Publish to npm
|
|
35
|
-
run: npm publish --provenance --access public
|
|
24
|
+
- run: npm ci
|
|
25
|
+
- run: npm run build:prod
|
|
26
|
+
- run: npm test
|
|
27
|
+
- run: npm publish --access public
|
|
36
28
|
|
|
37
29
|
- name: Create GitHub Release
|
|
38
30
|
uses: softprops/action-gh-release@v2
|