codemirror-mode-zig 1.0.12 → 1.0.14
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.
|
@@ -11,9 +11,10 @@ jobs:
|
|
|
11
11
|
publish-npm:
|
|
12
12
|
runs-on: ubuntu-latest
|
|
13
13
|
permissions:
|
|
14
|
-
contents: read
|
|
15
14
|
id-token: write
|
|
15
|
+
contents: write
|
|
16
16
|
attestations: write
|
|
17
|
+
packages: write
|
|
17
18
|
steps:
|
|
18
19
|
- uses: actions/checkout@v4
|
|
19
20
|
- uses: actions/setup-node@v4
|
|
@@ -23,9 +24,14 @@ jobs:
|
|
|
23
24
|
- run: npm ci
|
|
24
25
|
- run: npm pack
|
|
25
26
|
- name: Attest package
|
|
26
|
-
|
|
27
|
+
id: attest
|
|
28
|
+
uses: actions/attest-build-provenance@v3
|
|
27
29
|
with:
|
|
28
30
|
subject-path: "*.tgz"
|
|
31
|
+
- name: Upload attestation to release
|
|
32
|
+
run: gh release upload ${{ github.event.release.tag_name }} ${{ steps.attest.outputs.bundle-path }}
|
|
33
|
+
env:
|
|
34
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
29
35
|
- run: npm publish --provenance
|
|
30
36
|
env:
|
|
31
37
|
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
@@ -36,10 +42,10 @@ jobs:
|
|
|
36
42
|
publish-github-packages:
|
|
37
43
|
runs-on: ubuntu-latest
|
|
38
44
|
permissions:
|
|
39
|
-
contents: read
|
|
40
45
|
id-token: write
|
|
41
|
-
|
|
46
|
+
contents: read
|
|
42
47
|
attestations: write
|
|
48
|
+
packages: write
|
|
43
49
|
steps:
|
|
44
50
|
- uses: actions/checkout@v4
|
|
45
51
|
- uses: actions/setup-node@v4
|
|
@@ -50,7 +56,7 @@ jobs:
|
|
|
50
56
|
- run: npm ci
|
|
51
57
|
- run: npm pack
|
|
52
58
|
- name: Attest package
|
|
53
|
-
uses: actions/attest-build-provenance@
|
|
59
|
+
uses: actions/attest-build-provenance@v3
|
|
54
60
|
with:
|
|
55
61
|
subject-path: "*.tgz"
|
|
56
62
|
- run: |
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|