Skip to content

Version Packages (#581) #1369

Version Packages (#581)

Version Packages (#581) #1369

Workflow file for this run

name: ci
on: [push]
jobs:
ci:
name: CI
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
steps:
- name: Set branch name
uses: actions/checkout@v3
- name: Echo branch name
run: echo ${BRANCH_NAME}
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm run setup
- run: pnpm run lint
- run: pnpm run test
- run: pnpm run coverage
- run: pnpm run build:doc
- name: Deploy
uses: JamesIves/[email protected]
if: github.ref == 'refs/heads/main'
with:
BRANCH: gh-pages
FOLDER: website/build