Merge branch 'master' of github.com:apollosoftwarexyz/cinnamon #15
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: "Test Cinnamon" | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# Test current major node versions (and one prior active/maintenance | |
# version) to ensure general compatability. | |
node-version: [ 18.x, 20.10.0, 21.x ] | |
steps: | |
# Clone and set up the code base. | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# Perform a 'CI' install and test. | |
# We are not currently using Yarn PnP (and therefore not using Zero Installs) | |
# ...so IMMUTABLE_INSTALLS are disabled. If we do switch to PnP, these MUST be | |
# enabled. | |
- run: YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install | |
- run: yarn build | |
- run: yarn test |