We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c43a5df commit 58d4f9bCopy full SHA for 58d4f9b
.github/workflows/publish.yaml
@@ -1,9 +1,6 @@
1
name: Release Package
2
3
-on:
4
- push:
5
- branches:
6
- - main
+on: [push]
7
8
concurrency: ${{ github.workflow }}-${{ github.ref }}
9
@@ -41,6 +38,12 @@ jobs:
41
38
- name: Install dependencies
42
39
run: pnpm install
43
40
+ - name: Unpublish package
+ shell: bash
+ run: pnpm unpublish @simpleanalytics/next@1.0.0 --force
44
+ env:
45
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
46
+
47
- name: Publish package
48
shell: bash
49
run: pnpm publish --filter=@simpleanalytics/next --access public --no-git-checks
0 commit comments