@eslinted/core 28.0.0-rc.2 → 28.0.0-rc.3

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.
@@ -1,13 +1,19 @@
1
1
  --- # RELEASE.yml
2
- name: NPM Publish (RELEASE)
3
- on: { push: { tags: ['v[0-9]+.[0-9]+.[0-9]+'] } }
2
+ name: NPM Publish
3
+ on:
4
+ push:
5
+ tags:
6
+ - v[0-9]+.[0-9]+.[0-9]+
7
+ - v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+
4
8
  jobs:
5
9
  publish-release:
6
- name: Build/Publish (RELEASE)
10
+ name: Build/Publish
7
11
  environment:
8
12
  name: RELEASE
9
13
  url: https://www.npmjs.com/package/@eslinted/core?activeTab=versions
10
- permissions: { contents: read }
14
+ permissions:
15
+ id-token: write
16
+ contents: read
11
17
  runs-on: ubuntu-latest
12
18
  steps:
13
19
  - name: Checkout
@@ -19,12 +25,14 @@ jobs:
19
25
  with:
20
26
  node-version: 22
21
27
  registry-url: https://registry.npmjs.org
28
+ - name: Install NPM
29
+ id: npm
30
+ run: npm install -g npm@latest
22
31
  - name: Install Dependencies
23
32
  id: ci
24
33
  run: npm ci --loglevel=error --fund=false
25
34
  - name: Publish to NPM
26
35
  id: publish
27
36
  run: npm publish
28
- env: { NODE_AUTH_TOKEN: "${{secrets.NPM_TOKEN}}" }
29
37
 
30
38
  ...
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "@eslinted/core",
6
- "version": "28.0.0-rc.2",
6
+ "version": "28.0.0-rc.3",
7
7
  "repository": "github:jimmy-zhening-luo/linted-core",
8
8
  "description": "Internal core for npm package `linted`, responsible for producing an array of fully-formed ESLint configurations according to `linted` spec.",
9
9
  "keywords": [],
@@ -1,30 +0,0 @@
1
- name: NPM Publish (rc)
2
- on:
3
- push:
4
- tags:
5
- - v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+
6
- jobs:
7
- publish-rc:
8
- name: Build/Publish (rc)
9
- environment:
10
- name: rc
11
- url: https://www.npmjs.com/package/@eslinted/core?activeTab=versions
12
- permissions: { contents: read }
13
- runs-on: ubuntu-latest
14
- steps:
15
- - name: Checkout
16
- id: checkout
17
- uses: actions/checkout@v4
18
- - name: Install Node
19
- id: node
20
- uses: actions/setup-node@v4
21
- with:
22
- node-version: 22
23
- registry-url: https://registry.npmjs.org
24
- - name: Install Dependencies
25
- id: ci
26
- run: npm ci --loglevel=error --fund=false
27
- - name: Publish to NPM
28
- id: publish
29
- run: npm publish
30
- env: { NODE_AUTH_TOKEN: "${{secrets.NPM_TOKEN}}" }