Move changeset config to lib dir (#86) #125
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: Main | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Enable Corepack before setting up Node | |
run: corepack enable | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.8.0' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install | |
- name: Build lib package | |
run: yarn workspace opticks build | |
- name: Test lib package | |
run: yarn workspace opticks test | |
- name: Build cli package | |
run: yarn workspace opticks-cli build | |
- name: Test cli package | |
run: yarn workspace opticks-cli test |