littlelink-server/.github/workflows/pull-request.yml

29 lines
633 B
YAML
Raw Normal View History

2021-08-16 04:24:33 +02:00
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 test
2021-08-16 04:24:33 +02:00
env:
CI: true