Skip to content

Merge pull request #38 from Ayc0/Ayc0/react-18 #158

Merge pull request #38 from Ayc0/Ayc0/react-18

Merge pull request #38 from Ayc0/Ayc0/react-18 #158

Workflow file for this run

name: Node CI
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install packages
run: yarn install
- name: Build packages
run: yarn build
- name: Run tests
run: yarn test
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install packages
run: yarn install
- name: Check linting
run: yarn lint:check