mirror of
https://github.com/material-components/material-web.git
synced 2026-01-09 07:21:09 +08:00
build: Move lint test to separate workflow run (#1960)
This commit is contained in:
parent
f81b546d03
commit
a40dbc1a17
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
@ -3,6 +3,16 @@ name: tests
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12
|
||||
run: npm ci --ignore-scripts
|
||||
run: npm run bootstrap
|
||||
run: npm run lint
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@ -30,11 +40,6 @@ jobs:
|
||||
- name: Compile component TypeScript
|
||||
run: npm run build:typescript
|
||||
|
||||
# TODO(aomarks) Once b/144957560 is fixed, move lint and format into their
|
||||
# own workflows or jobs so that they can run in parallel.
|
||||
- name: Check lint
|
||||
run: npm run lint
|
||||
|
||||
- name: Compile test TypeScript
|
||||
run: npm run build:tests
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user