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
|
2021-08-26 02:16:09 +02:00
|
|
|
yarn lint
|
2021-09-11 20:40:43 +02:00
|
|
|
yarn lint:style
|
2021-08-26 02:16:09 +02:00
|
|
|
yarn test
|
2021-08-16 04:24:33 +02:00
|
|
|
env:
|
|
|
|
CI: true
|