fix: Semantic release setup in the monorepo #128
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: Library Template Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
checks: | |
name: 🔍 Library Template Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛒 Checkout code | |
uses: actions/checkout@v3 | |
- name: 🛠 Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'yarn' | |
- name: 📦 Install dependencies | |
run: yarn install --immutable | |
- name: 🔎 Run typecheck | |
run: yarn lib:typecheck | |
- name: 🧹 Run lint | |
run: yarn lib:lint | |
- name: 🎨 Run Prettier check | |
run: yarn lib:format:check | |
- name: 🧪 Run tests | |
run: yarn lib:test |