simple-keyboard/.github/workflows/pull_request.yml

24 lines
611 B
YAML
Raw Normal View History

2021-08-02 17:43:53 +08:00
name: Build PR (Standard)
2020-03-13 07:20:56 +08:00
on: [pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
2021-08-02 17:43:53 +08:00
if: ${{ github.actor != 'dependabot[bot]' && !contains(github.event.pull_request.labels.*.name, 'dependencies') }}
2020-03-13 07:20:56 +08:00
strategy:
matrix:
node-version: [12.x]
os: [ubuntu-latest]
steps:
- 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