Skip to content

✅ test: fix tests #312

✅ test: fix tests

✅ test: fix tests #312

Workflow file for this run

name: Release CI
on:
push:
branches:
- master
- alpha
- beta
- rc
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install deps
run: pnpm install
- name: Test
run: pnpm run test
release:
needs: test
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install deps
run: pnpm install
- name: build
run: pnpm run build
- name: release
run: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}