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:
1616 pull-requests : write
1717
1818jobs :
19- release :
20- name : Release
19+ versioning :
20+ name : Versioning
2121 runs-on : ubuntu-latest
2222 steps :
2323 - name : Checkout Repository (deep)
3939 with :
4040 bun-version : 1
4141
42- - name : Authenticate NPM
43- run : npm config set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
44-
4542 - name : Install
4643 run : pnpm install --frozen-lockfile
4744
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-
5445 - name : Setup Git User
5546 run : node .github/scripts/setup-git-user.js
5647
7869 GITHUB_REPO : ${{ github.repository }}
7970 GITHUB_HEAD_BRANCH : " automated-versioning"
8071 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