CORE: bring back tracking #1509
Workflow file for this run
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: Pull request check | |
on: [push] | |
env: | |
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
API_KEY: ${{ secrets.CORE_API_KEY }} | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout repository | |
uses: actions/checkout@v2 | |
- | |
name: Setup Node | |
uses: actions/setup-node@v1.4.4 | |
with: | |
node-version: '12.x' | |
- | |
name: Install packages | |
run: | | |
npm ci | |
- | |
name: Run build | |
run: | | |
npm run build | |
lint: | |
name: Code quality | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout repository | |
uses: actions/checkout@v2 | |
- | |
name: Setup Node | |
uses: actions/setup-node@v1.4.4 | |
with: | |
node-version: '12.x' | |
- | |
name: Install packages | |
run: | | |
npm ci | |
- | |
name: Lint everything | |
run: | | |
npm run lint |