File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1- # Name of our action
21name : Release
32
4- # The event that will trigger the action
53on :
64 push :
75 branches : [main]
86
9- # what the action will do
7+ permissions :
8+ contents : write
9+ pull-requests : write
10+ id-token : write
11+
1012jobs :
1113 release :
12- # The operating system it will run on
1314 runs-on : ubuntu-latest
14- # This check needs to be in place to prevent a publish loop with auto and github actions
1515 if : " !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
16- # The list of steps that the action will go through
1716 steps :
1817 - name : Checkout
1918 uses : actions/checkout@v4
2221 run : git fetch --unshallow --tags
2322
2423 - name : Install Node.js
25- uses : actions/setup-node@v4
24+ uses : actions/setup-node@v6
25+ with :
26+ node-version : ' 22'
27+ registry-url : ' https://registry.npmjs.org'
2628
2729 - name : Setup Bun
2830 uses : oven-sh/setup-bun@v2
3638 - name : Create Release
3739 env :
3840 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
41+ NPM_TOKEN : " "
4042 run : npx auto shipit
You can’t perform that action at this time.
0 commit comments