Merge pull request #260 from tombomb/patch-1 #282
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: Node.js CI | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
info: | |
runs-on: ubuntu-22.04 | |
name: info | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- run: docker-compose --version | |
- run: docker compose version | |
- run: node --version | |
lint: | |
runs-on: ubuntu-22.04 | |
name: Lint | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- run: yarn | |
- run: yarn lint | |
build: | |
runs-on: ubuntu-22.04 | |
name: Build + Test | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- run: yarn | |
- run: yarn build | |
- run: yarn test-v1 | |
- run: yarn test-v2 |