Skip to content

upgrade node

upgrade node #71

Workflow file for this run

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