@screeps/storage 5.1.1 โ†’ 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.
@@ -0,0 +1,32 @@
1
+ name: Build npm package
2
+ on:
3
+ push:
4
+ branches:
5
+ - '**'
6
+ jobs:
7
+ build:
8
+ if: contains(github.event.head_commit.message, '๐Ÿ”–')
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: read
12
+ packages: write
13
+ steps:
14
+ - name: โคต๏ธ Checkout
15
+ uses: actions/checkout@v3
16
+ - name: ๐Ÿ”จ Setup node
17
+ uses: actions/setup-node@v3
18
+ with:
19
+ node-version: '24.x'
20
+ registry-url: 'https://registry.npmjs.org'
21
+ - name: ๐Ÿ‘ท Install
22
+ run: npm ci
23
+ env:
24
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
+ - name: ๐Ÿ“ฆ๏ธ Publish package (npmjs)
26
+ run: npm publish
27
+ env:
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/bin/start.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@screeps/storage",
3
- "version": "5.1.1",
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
  }