refactor: updated expected Node version from 16 to 18 #1663
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: Continuous Integration | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build & Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the source code | |
uses: actions/checkout@v3 | |
- name: Set up NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Setup the project | |
run: | | |
yarn run setup | |
npx lerna add @pattern-lab/engine-mustache --scope=@pattern-lab/core | |
npx lerna add @pattern-lab/engine-handlebars --scope=@pattern-lab/core | |
npx lerna add @pattern-lab/engine-underscore --scope=@pattern-lab/core | |
npx lerna add @pattern-lab/engine-liquid --scope=@pattern-lab/core | |
npx lerna add @pattern-lab/engine-twig --scope=@pattern-lab/core | |
npx lerna add @pattern-lab/engine-react --scope=@pattern-lab/core | |
- name: Run Unit Tests | |
run: yarn run test |