chore(release): v0.4.0 #144
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: Node CI | |
on: | |
push: | |
branches: | |
- '**' | |
tags: | |
- 'v**' | |
pull_request: | |
jobs: | |
lint: | |
name: Typecheck and Lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: restore node_modules | |
uses: actions/cache@v4 | |
with: | |
path: | | |
node_modules | |
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Prepare Environment | |
run: | | |
yarn install | |
- name: Run typecheck | |
run: | | |
yarn build | |
- name: Run linter | |
run: | | |
yarn lint |