Merge pull request #27 from HarelM/patch-1 #56
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, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ["18", "20"] | |
name: Node ${{ matrix.node }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install | |
run: yarn | |
- name: Build | |
run: yarn build | |
- name: Test | |
run: yarn test | |
- name: Lint | |
run: yarn prettier --check . | |
build-windows: | |
runs-on: windows-latest | |
name: Node LTS Windows | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
- name: Install | |
run: yarn | |
- name: Build | |
run: yarn build | |
- name: Test | |
run: yarn test |