Skip to content

Issue #1071: fixed resources validator build image job #1364

Issue #1071: fixed resources validator build image job

Issue #1071: fixed resources validator build image job #1364

Workflow file for this run

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