This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
Fix missing lockfile bump when releasing a new version (#9) #60
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: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Check formatting | |
run: npm run format:check | |
- name: Check typing | |
run: npm run build:check | |
- name: Check docs | |
run: npm run docs | |
check-examples: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
directory: [examples/room-manager] | |
defaults: | |
run: | |
working-directory: ${{ matrix.directory }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
- name: Install SDK | |
working-directory: . | |
run: npm ci | |
- name: Check Room Manager example | |
working-directory: examples/room-manager | |
run: | | |
npm ci | |
npm run build:check |