Skip to content

chore(deps): update dependency @types/yargs to v17.0.33 (#184) #132

chore(deps): update dependency @types/yargs to v17.0.33 (#184)

chore(deps): update dependency @types/yargs to v17.0.33 (#184) #132

Workflow file for this run

name: Create GitHub releases
on:
push:
branches:
- main
jobs:
create-releases:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Checkout release branch
run: |
git config --global user.name "Stainless Bot"
git config --global user.email "stainless-bot@users.noreply.github.com"
git checkout release
- name: Merge main into release branch
run: |
git pull origin release --rebase=false --ff-only
git merge --no-ff main
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- run: corepack enable && corepack prepare
# Note: actions/setup-node doesn't yet provide parameters for corepack, we need to run it again after enabling it
- uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Compile
run: pnpm build
- name: Commit and push build directory
run: |
git add -f ./build
git diff --cached --exit-code || git commit -m "Build sources"
git push origin release