@screeps/storage 5.1.1 โ†’ 5.1.2

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,41 @@
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
+ # Setup .npmrc file to publish to GitHub Packages
17
+ - name: ๐Ÿ”จ Setup node (github registry)
18
+ uses: actions/setup-node@v3
19
+ 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'
24
+ - name: ๐Ÿ‘ท Install
25
+ run: npm ci
26
+ env:
27
+ 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
+ - name: ๐Ÿ“ฆ๏ธ Publish package (npmjs)
39
+ run: npm publish
40
+ env:
41
+ NODE_AUTH_TOKEN: ${{ secrets.NPMJS_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.2",
4
4
  "main": "lib/index.js",
5
5
  "bin": {
6
6
  "screeps-storage": "bin/start.js"