Skip to content

Update env.config.js #1506

Update env.config.js

Update env.config.js #1506

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