Merge pull request #3 from mikmera/develop #43
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: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
eslint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install node v18 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: yarn install | |
run: yarn install | |
- name: run eslint | |
run: yarn lint | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install node v18 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: yarn install | |
run: yarn install | |
- name: build | |
run: yarn build |