Issue #1073: fix name api key and api url #1369
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: JS Monorepo CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 14.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- run: yarn --frozen-lockfile --check-files | |
- run: CI=false yarn build | |
- uses: actions/cache@v1 | |
id: cache-build | |
with: | |
path: "." | |
key: ${{ github.sha }} | |
lint: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/cache@v1 | |
id: restore-build | |
with: | |
path: "." | |
key: ${{ github.sha }} | |
- run: yarn lint | |
test: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/cache@v1 | |
id: restore-build | |
with: | |
path: "." | |
key: ${{ github.sha }} | |
- run: yarn test | |