Skip to content

Merge remote-tracking branch 'origin/beta' into beta #38

Merge remote-tracking branch 'origin/beta' into beta

Merge remote-tracking branch 'origin/beta' into beta #38

Workflow file for this run

name: Release (Beta)
on:
push:
branches: [ beta ]
permissions: write-all
jobs:
lint:
name: 'Lint'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: cd playground && npm ci
- run: cd ..
- run: npm run lint:ci
ts-check:
name: 'TS Check'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: cd playground && npm ci
- run: cd ..
- run: npm run dev:prepare
- run: npm run ts:check
release-beta:
name: 'Release: beta'
needs: [lint, ts-check]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
registry-url: https://registry.npmjs.org/
- name: git config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- run: npm ci
- run: npm run prepack
- run: npm run release:beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}