refactor: remove top-level src/ now that repo has been reorganized in… #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
- name: Read .nvmrc | |
id: node_version | |
run: echo NODE_VERSION=$(cat .nvmrc) >> $GITHUB_OUTPUT | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ steps.node_version.outputs.NODE_VERSION }} | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: | | |
pnpm install | |
- name: Build | |
run: | | |
pnpm build | |
- name: Lint | |
run: | | |
pnpm lint | |
- name: Typecheck | |
run: | | |
pnpm typecheck | |
- name: Test | |
run: | | |
pnpm test |