diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c733c3c..fb998be 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,31 +28,31 @@ jobs: with: ref: 'main' fetch-depth: 0 - - run: | - echo "Not yet ready!" - exit 1 - # - uses: actions/setup-node@v3 - # with: - # node-version: 16.x - # - uses: pnpm/action-setup@v2 - # with: - # version: 8.8.0 - # run_install: true - # - name: NPM Setup - # run: | - # pnpm set registry "https://registry.npmjs.org/" - # pnpm set //registry.npmjs.org/:_authToken $NPM_TOKEN - # pnpm whoami - # - name: Git Setup - # run: | - # git config --global user.email "bot@webdriver.io" - # git config --global user.name "WebdriverIO Release Bot" - # - name: Install Dependencies - # run: pnpm install --frozen-lockfile - # - name: Build - # run: pnpm build - # - name: Release - # run: pnpm run release:ci -- ${{github.event.inputs.releaseType}} - # env: - # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # - run: | + # echo "Not yet ready!" + # exit 1 + - uses: actions/setup-node@v3 + with: + node-version: 20.x + - uses: pnpm/action-setup@v2 + with: + version: 8.8.0 + run_install: true + - name: NPM Setup + run: | + pnpm set registry "https://registry.npmjs.org/" + pnpm set //registry.npmjs.org/:_authToken $NPM_TOKEN + pnpm whoami + - name: Git Setup + run: | + git config --global user.email "bot@webdriver.io" + git config --global user.name "WebdriverIO Release Bot" + - name: Install Dependencies + run: pnpm install --frozen-lockfile + - name: Build + run: pnpm -r --workspace-concurrency=1 build + - name: Release + run: pnpm run release:ci -- ${{github.event.inputs.releaseType}} + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}