@evanpurkhiser/eslint-config 0.14.0 → 0.15.0

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,16 +1,14 @@
1
1
  name: publish
2
2
 
3
- on: push
3
+ on:
4
+ push:
5
+ tags: ['v*']
4
6
 
5
7
  jobs:
6
8
  publish:
7
9
  runs-on: ubuntu-latest
8
10
  steps:
9
11
  - uses: actions/checkout@v3
10
- - uses: actions/setup-node@v3
11
- with:
12
- node-version: '16.x'
13
- registry-url: 'https://registry.npmjs.org' # <-- the registry-url here is required
12
+ - uses: volta-cli/action@v4
13
+ - run: npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_AUTH_TOKEN }}
14
14
  - run: npm publish
15
- env:
16
- NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evanpurkhiser/eslint-config",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Evan Purkhiser's personal eslint configuration",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/evanpurkhiser/eslint-config",
@@ -26,5 +26,9 @@
26
26
  "volta": {
27
27
  "node": "18.11.0",
28
28
  "yarn": "1.22.19"
29
+ },
30
+ "publishConfig": {
31
+ "registry": "https://registry.npmjs.org",
32
+ "access": "public"
29
33
  }
30
34
  }