littlelink-server/.github/workflows/pull-request.yml
2021-09-11 13:40:43 -05:00

30 lines
657 B
YAML

name: 'Pull Request'
on:
pull_request:
branches:
- master
paths-ignore:
- .gitignore
- README.md
- LICENSE
jobs:
js-install-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [v14.17.4]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@master
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies, Test, and Build
run: |
yarn install --frozen-lockfile --check-files
yarn lint
yarn lint:style
yarn test
env:
CI: true