@screeps/storage 5.1.2 → 5.1.3-beta

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.
@@ -13,29 +13,20 @@ jobs:
13
13
  steps:
14
14
  - name: ⤵️ Checkout
15
15
  uses: actions/checkout@v3
16
- # Setup .npmrc file to publish to GitHub Packages
17
- - name: 🔨 Setup node (github registry)
16
+ - name: 🔨 Setup node
18
17
  uses: actions/setup-node@v3
19
18
  with:
20
- node-version: '10.x'
21
- registry-url: 'https://npm.pkg.github.com'
22
- # Defaults to the user or organization that owns the workflow file
23
- scope: '@screeps'
19
+ node-version: '24.x'
20
+ registry-url: 'https://registry.npmjs.org'
24
21
  - name: 👷 Install
25
22
  run: npm ci
26
23
  env:
27
24
  NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
- - name: 📦️ Publish package (github registry)
29
- run: npm publish
30
- env:
31
- NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
- - name: 🔨 Setup node (npmjs)
33
- uses: actions/setup-node@v3
34
- with:
35
- node-version: '10.x'
36
- registry-url: 'https://registry.npmjs.org'
37
- scope: '@screeps'
38
25
  - name: 📦️ Publish package (npmjs)
39
26
  run: npm publish
40
27
  env:
41
28
  NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
29
+ - name: 📦️ Publish package (github registry)
30
+ run: npm publish --@screeps:registry=https://npm.pkg.github.com
31
+ env:
32
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@screeps/storage",
3
- "version": "5.1.2",
3
+ "version": "5.1.3-beta",
4
4
  "main": "lib/index.js",
5
5
  "bin": {
6
6
  "screeps-storage": "bin/start.js"
@@ -15,5 +15,8 @@
15
15
  "lodash": "^3.10.1",
16
16
  "lokijs": "^1.5.6",
17
17
  "q": "^1.4.1"
18
+ },
19
+ "publishConfig": {
20
+ "tag": "beta"
18
21
  }
19
22
  }