We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 477f014 commit 5b274ffCopy full SHA for 5b274ff
.github/workflows/main.yml
@@ -22,6 +22,29 @@ jobs:
22
- run: npm test
23
- run: npm run lint
24
25
+ package-test:
26
+ runs-on: ubuntu-latest
27
+ if: github.ref == 'refs/heads/justin/publish-packs'
28
+
29
+ permissions:
30
+ contents: write
31
32
+ steps:
33
+ - uses: actions/checkout@v4
34
+ - uses: actions/setup-node@v4
35
+ with:
36
+ node-version: 18
37
+ cache: npm
38
39
+ - run: npm ci
40
+ - run: npm pack
41
42
+ - name: Upload package to release
43
+ env:
44
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45
+ run: |
46
+ gh release upload 0.1.0 ./*.tgz
47
48
package:
49
runs-on: ubuntu-latest
50
if: github.event_name == 'release'
0 commit comments