mirror of
https://github.com/directus/directus.git
synced 2026-01-27 18:48:29 -05:00
29 lines
567 B
YAML
29 lines
567 B
YAML
name: Node CI
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '12.x'
|
|
- name: Install dependencies
|
|
run: |
|
|
yarn install
|
|
- name: Lint
|
|
run: |
|
|
yarn lint
|
|
yarn lint:styles
|
|
- name: Run tests
|
|
run: |
|
|
yarn test --coverage
|
|
- name: Coveralls
|
|
uses: coverallsapp/github-action@master
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|