mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +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]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
build-and-unit:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.x
|
||||
- name: npm install, build, and test
|
||||
run: |
|
||||
npm install
|
||||
npm run bundle
|
||||
npm test
|
||||
- run: npm install
|
||||
- run: npm run bundle
|
||||
- run: npm test
|
||||
|
|
Loading…
Reference in New Issue
Block a user