Skip to content

Update bazel build file, include node_modules dir for testing #31

Update bazel build file, include node_modules dir for testing

Update bazel build file, include node_modules dir for testing #31

Workflow file for this run

name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- 'master'
- '**'
jobs:
format: # make sure files are linted and formatted correctly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.4
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Lint Bazel
run: pnpm bazel:lint
- name: Lint JavaScript && TypeScript
run: pnpm lint
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.4
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Test package
run: pnpm bazel:test
- name: Build package
run: pnpm bazel:build
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.4
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Test package
run: pnpm bazel:test
- name: Build package
run: pnpm bazel:build