We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfb3888 commit d00d5b9Copy full SHA for d00d5b9
.github/workflows/release.yml
@@ -16,12 +16,18 @@ jobs:
16
uses: actions/setup-node@v3
17
with:
18
node-version: '20.x'
19
- - run: npm install
20
- - run: npm install -g rollup
21
- - run: npm install -g terser
22
- - run: npm run build
23
- - run: zip -r bottlecap.zip dist/*
24
- - name: Create release
+ registry-url: 'https://registry.npmjs.org'
+ - name: Install dependencies and build
+ run: |
+ npm install
+ npm install -g rollup
+ npm install -g terser
25
+ npm run build
26
+ - name: Publish package on NPM 📦
27
+ run: npm publish
28
+ env:
29
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30
+ - name: Create Github release
31
id: release
32
uses: softprops/action-gh-release@v1
33
0 commit comments