mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 18:14:07 +03:00
chore: simplify .github workflow
This commit is contained in:
parent
c69f6de4c9
commit
5cf4d2aada
16
.github/workflows/unit-tests.yml
vendored
16
.github/workflows/unit-tests.yml
vendored
|
@ -3,18 +3,10 @@ name: Unit Tests
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-and-unit:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- run: npm install
|
||||||
uses: actions/setup-node@v1
|
- run: npm run bundle
|
||||||
with:
|
- run: npm test
|
||||||
node-version: 10.x
|
|
||||||
- name: npm install, build, and test
|
|
||||||
run: |
|
|
||||||
npm install
|
|
||||||
npm run bundle
|
|
||||||
npm test
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user