Skip to content

Commit bcab49d

Browse files
committed
Release workflow update
1 parent 9c2f75a commit bcab49d

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.github/workflows/release.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -28,31 +28,31 @@ jobs:
2828
with:
2929
ref: 'main'
3030
fetch-depth: 0
31-
- run: |
32-
echo "Not yet ready!"
33-
exit 1
34-
# - uses: actions/setup-node@v3
35-
# with:
36-
# node-version: 16.x
37-
# - uses: pnpm/action-setup@v2
38-
# with:
39-
# version: 8.8.0
40-
# run_install: true
41-
# - name: NPM Setup
42-
# run: |
43-
# pnpm set registry "https://registry.npmjs.org/"
44-
# pnpm set //registry.npmjs.org/:_authToken $NPM_TOKEN
45-
# pnpm whoami
46-
# - name: Git Setup
47-
# run: |
48-
# git config --global user.email "[email protected]"
49-
# git config --global user.name "WebdriverIO Release Bot"
50-
# - name: Install Dependencies
51-
# run: pnpm install --frozen-lockfile
52-
# - name: Build
53-
# run: pnpm build
54-
# - name: Release
55-
# run: pnpm run release:ci -- ${{github.event.inputs.releaseType}}
56-
# env:
57-
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
58-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
# - run: |
32+
# echo "Not yet ready!"
33+
# exit 1
34+
- uses: actions/setup-node@v3
35+
with:
36+
node-version: 20.x
37+
- uses: pnpm/action-setup@v2
38+
with:
39+
version: 8.8.0
40+
run_install: true
41+
- name: NPM Setup
42+
run: |
43+
pnpm set registry "https://registry.npmjs.org/"
44+
pnpm set //registry.npmjs.org/:_authToken $NPM_TOKEN
45+
pnpm whoami
46+
- name: Git Setup
47+
run: |
48+
git config --global user.email "[email protected]"
49+
git config --global user.name "WebdriverIO Release Bot"
50+
- name: Install Dependencies
51+
run: pnpm install --frozen-lockfile
52+
- name: Build
53+
run: pnpm -r --workspace-concurrency=1 build
54+
- name: Release
55+
run: pnpm run release:ci -- ${{github.event.inputs.releaseType}}
56+
env:
57+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)