solid-logic 2.1.2-d1f88033 → 2.1.2-f4bf7823

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.
@@ -34,7 +34,7 @@ jobs:
34
34
  - run: npm test
35
35
  - run: npm run build --if-present
36
36
  - name: Save build
37
- if: matrix.node-version == '14.x'
37
+ if: matrix.node-version == '16.x'
38
38
  uses: actions/upload-artifact@v2
39
39
  with:
40
40
  name: build
@@ -52,7 +52,7 @@ jobs:
52
52
  name: build
53
53
  - uses: actions/setup-node@v1
54
54
  with:
55
- node-version: 14.x
55
+ node-version: 16.x
56
56
  - uses: rlespinasse/github-slug-action@v3.x
57
57
  - name: Append commit hash to package version
58
58
  run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
@@ -62,3 +62,21 @@ jobs:
62
62
  with:
63
63
  token: ${{ secrets.NPM_TOKEN }}
64
64
  tag: ${{ env.GITHUB_REF_SLUG }}
65
+
66
+ npm-publish-latest:
67
+ needs: build
68
+ runs-on: ubuntu-latest
69
+ if: github.ref == 'refs/heads/main'
70
+ steps:
71
+ - uses: actions/download-artifact@v2
72
+ with:
73
+ name: build
74
+ - uses: actions/setup-node@v1
75
+ with:
76
+ node-version: 16.x
77
+ - name: Disable pre- and post-publish actions
78
+ run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
79
+ - uses: JS-DevTools/npm-publish@v1
80
+ with:
81
+ token: ${{ secrets.NPM_TOKEN }}
82
+ tag: latest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solid-logic",
3
- "version": "2.1.2-d1f88033",
3
+ "version": "2.1.2-f4bf7823",
4
4
  "description": "Core business logic of Solid OS",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {