File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 10
10
if : github.repository == 'ghostdevv/jellycommands'
11
11
name : Release
12
12
runs-on : ubuntu-latest
13
+ permissions :
14
+ id-token : write
13
15
steps :
14
16
- name : Checkout Repo
15
17
uses : actions/checkout@v4
@@ -23,18 +25,16 @@ jobs:
23
25
version : 9.12.3
24
26
registry-url : https://registry.npmjs.org/
25
27
26
- - name : Setup Node.js 18
28
+ - name : Setup Node.js 22
27
29
uses : actions/setup-node@v4
28
30
with :
29
- node-version : 18
30
- registry-url : https://registry.npmjs.org/
31
- cache : ' pnpm'
31
+ node-version : 22
32
32
33
33
- name : Install Dependencies
34
34
run : pnpm install --frozen-lockfile
35
35
36
36
- name : Build
37
- run : pnpm build
37
+ run : pnpm package
38
38
39
39
- name : Create Release Pull Request
40
40
uses : changesets/action@v1
43
43
env :
44
44
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45
45
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
46
+ NPM_CONFIG_PROVENANCE : true
Original file line number Diff line number Diff line change 12
12
"dev-build" : " pnpm --parallel -r build --watch" ,
13
13
"dev-dev" : " pnpm --filter dev -r dev" ,
14
14
"build" : " pnpm -r build" ,
15
+ "package" : " pnpm -r package" ,
15
16
"release" : " changeset publish" ,
16
17
"lint" : " pnpm -r lint" ,
17
18
"fix" : " pnpm -r fix" ,
Original file line number Diff line number Diff line change 35
35
"scripts" : {
36
36
"dev" : " tsup-node --watch src" ,
37
37
"build" : " tsup-node" ,
38
+ "package" : " pnpm build && publint" ,
38
39
"test" : " vitest --coverage" ,
39
40
"lint" : " prettier --check src && eslint src && publint" ,
40
41
"format" : " prettier --write src"
You can’t perform that action at this time.
0 commit comments