2021-08-02 02:43:53 -07:00
|
|
|
name: Build PR (Standard)
|
2021-08-02 12:33:37 -07:00
|
|
|
|
|
|
|
on: pull_request
|
2020-03-12 19:20:56 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ${{ matrix.os }}
|
2021-08-02 12:56:34 -07:00
|
|
|
if: ${{ github.actor != 'dependabot[bot]' }}
|
2020-03-12 19:20:56 -04:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-09-24 06:47:52 +00:00
|
|
|
node-version: [16.x]
|
2020-03-12 19:20:56 -04:00
|
|
|
os: [ubuntu-latest]
|
|
|
|
steps:
|
2021-08-02 12:33:37 -07:00
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Use Node.js ${{ matrix.node_version }}
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node_version }}
|
|
|
|
- name: npm install, build, and test
|
|
|
|
run: |
|
|
|
|
npm install
|
|
|
|
npm run coverage
|
|
|
|
env:
|
|
|
|
CI: true
|