codemirror-mode-zig 1.0.4 → 1.0.6

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.
@@ -4,19 +4,22 @@
4
4
  name: Node.js Package
5
5
 
6
6
  on:
7
- release:
8
- types: [created]
7
+ release:
8
+ types: [published]
9
9
 
10
10
  jobs:
11
- publish-npm:
12
- runs-on: ubuntu-latest
13
- steps:
14
- - uses: actions/checkout@v4
15
- - uses: actions/setup-node@v3
16
- with:
17
- node-version: 16
18
- registry-url: https://registry.npmjs.org/
19
- - run: npm ci
20
- - run: npm publish
21
- env:
22
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
11
+ publish-npm:
12
+ runs-on: ubuntu-latest
13
+ permissions:
14
+ contents: read
15
+ id-token: write
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: actions/setup-node@v4
19
+ with:
20
+ node-version: "20.x"
21
+ registry-url: "https://registry.npmjs.org/"
22
+ - run: npm ci
23
+ - run: npm publish --provenance
24
+ env:
25
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "codemirror-mode-zig",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
+ "keywords": [
7
+ "zig",
8
+ "npm",
9
+ "codemirror"
10
+ ],
6
11
  "scripts": {
7
12
  "test": "echo \"Error: no test specified\" && exit 1"
8
13
  },