rm todos and add coming soon #172
Workflow file for this run
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.js CI | |
on: | |
push: | |
workflow_call: | |
jobs: | |
lintAndTest: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x, 22.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "yarn" # Cache Yarn dependencies | |
# Cache Yarn dependencies | |
- name: Cache Yarn dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
node_modules | |
.yarn/cache | |
key: yarn-cache-${{ matrix.node-version }}-${{ hashFiles('yarn.lock') }} | |
restore-keys: | | |
yarn-cache-${{ matrix.node-version }}- | |
# Install all dependencies for all packages in the monorepo | |
- run: yarn install --immutable --immutable-cache --check-cache | |
# Check formatting for all packages | |
- run: yarn workspaces run fmt:check | |
# Build all packages | |
- run: yarn build | |
# Run tests for all packages | |
- run: yarn workspaces run test | |