File tree Expand file tree Collapse file tree 1 file changed +37
-11
lines changed Expand file tree Collapse file tree 1 file changed +37
-11
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ permissions:
16
16
pull-requests : write
17
17
18
18
jobs :
19
- release :
20
- name : Release
19
+ versioning :
20
+ name : Versioning
21
21
runs-on : ubuntu-latest
22
22
steps :
23
23
- name : Checkout Repository (deep)
39
39
with :
40
40
bun-version : 1
41
41
42
- - name : Authenticate NPM
43
- run : npm config set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
44
-
45
42
- name : Install
46
43
run : pnpm install --frozen-lockfile
47
44
48
- - name : Build packages
49
- run : pnpm nx run-many -t build --projects=@knuckles/*
50
-
51
- - name : Publish packages
52
- run : pnpm nx release publish
53
-
54
45
- name : Setup Git User
55
46
run : node .github/scripts/setup-git-user.js
56
47
78
69
GITHUB_REPO : ${{ github.repository }}
79
70
GITHUB_HEAD_BRANCH : " automated-versioning"
80
71
GITHUB_BASE_BRANCH : " main"
72
+
73
+ publish :
74
+ name : Publish
75
+ runs-on : ubuntu-latest
76
+ steps :
77
+ - name : Checkout Repository (deep)
78
+ uses : actions/checkout@v4
79
+ with :
80
+ fetch-depth : 0
81
+
82
+ - uses : pnpm/action-setup@v3
83
+ with :
84
+ version : 9
85
+
86
+ - name : Setup Node.js 20.x
87
+ uses : actions/setup-node@v3
88
+ with :
89
+ node-version : 20.x
90
+
91
+ - name : Setup Bun 1.x
92
+ uses : oven-sh/setup-bun@v1
93
+ with :
94
+ bun-version : 1
95
+
96
+ - name : Authenticate NPM
97
+ run : npm config set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
98
+
99
+ - name : Install
100
+ run : pnpm install --frozen-lockfile
101
+
102
+ - name : Build packages
103
+ run : pnpm nx run-many -t build --projects=@knuckles/*
104
+
105
+ - name : Publish packages
106
+ run : pnpm nx release publish
You can’t perform that action at this time.
0 commit comments