Skip to content

Merge branch 'main' of github.com:amihhs/cavans-poster #29

Merge branch 'main' of github.com:amihhs/cavans-poster

Merge branch 'main' of github.com:amihhs/cavans-poster #29

Workflow file for this run

name: CI
on:
push:
branches:
- main
- v0
pull_request:
branches:
- main
- v0
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 16.x
registry-url: 'https://registry.npmjs.org'
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Install
run: pnpm i
- name: Lint
run: pnpm run lint
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [16.x]
os: [ubuntu-latest]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Install
run: pnpm i
- name: Build
run: pnpm run build
# - name: Test
# run: pnpm run test
- name: Typecheck
run: pnpm run typecheck