codemirror-mode-zig 0.0.1 → 1.0.1

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,22 +4,33 @@
4
4
  name: Node.js Package
5
5
 
6
6
  on:
7
- workflow_dispatch:
8
7
  release:
9
8
  types: [created]
10
9
 
11
10
  jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - uses: actions/setup-node@v3
16
+ with:
17
+ node-version: 16
18
+ - run: npm ci
19
+ - run: npm test
20
+
12
21
  publish-gpr:
22
+ needs: build
13
23
  runs-on: ubuntu-latest
14
24
  permissions:
15
25
  contents: read
16
26
  packages: write
17
27
  steps:
18
- - uses: actions/checkout@v4
19
- - uses: actions/setup-node@v4
28
+ - uses: actions/checkout@v3
29
+ - uses: actions/setup-node@v3
20
30
  with:
21
- node-version: 20
31
+ node-version: 16
22
32
  registry-url: https://npm.pkg.github.com/
33
+ - run: npm ci
23
34
  - run: npm publish
24
35
  env:
25
36
  NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
@@ -4,19 +4,29 @@
4
4
  name: Node.js Package
5
5
 
6
6
  on:
7
- workflow_dispatch:
8
7
  release:
9
8
  types: [created]
10
9
 
11
10
  jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - uses: actions/setup-node@v3
16
+ with:
17
+ node-version: 20
18
+ - run: npm ci
19
+
12
20
  publish-npm:
21
+ needs: build
13
22
  runs-on: ubuntu-latest
14
23
  steps:
15
- - uses: actions/checkout@v4
16
- - uses: actions/setup-node@v4
24
+ - uses: actions/checkout@v3
25
+ - uses: actions/setup-node@v3
17
26
  with:
18
27
  node-version: 20
19
28
  registry-url: https://registry.npmjs.org/
29
+ - run: npm ci
20
30
  - run: npm publish
21
31
  env:
22
32
  NODE_AUTH_TOKEN: ${{secrets.npm_token}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codemirror-mode-zig",
3
- "version": "0.0.1",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {