Skip to content

Commit

Permalink
Merge pull request #52 from b2broker/deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
vansergen authored May 31, 2021
2 parents fc0a999 + c8089ef commit 4eb734b
Show file tree
Hide file tree
Showing 6 changed files with 1,881 additions and 1,662 deletions.
52 changes: 10 additions & 42 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@ jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node: [14, 15]

container: node:${{ matrix.node }}-buster

steps:
- uses: actions/checkout@main
with:
fetch-depth: 0

- uses: actions/setup-node@main
with:
node-version: 16
check-latest: true

- name: Node.js version
run: node --version

Expand All @@ -38,18 +37,11 @@ jobs:
- name: commitlint
run: npm run commitlint:all

coverage:
needs: [test]

runs-on: ubuntu-latest

container: node:15-alpine

steps:
- uses: actions/checkout@main
- name: Docs
run: npm run docs:ci

- name: Install dependencies
run: npm ci
- name: Publish
run: npm run publish:test

- name: Coverage
run: npm run coverage
Expand All @@ -59,37 +51,13 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

docs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@main
with:
fetch-depth: 0

- uses: actions/setup-node@main
with:
node-version: 16
check-latest: true

- name: Install dependencies
run: npm ci

- name: Docs
run: npm run docs:ci

- name: Publish
run: npm run publish:test

release:
needs: [test, coverage, docs]
needs: [test]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@main
with:
fetch-depth: 0

- uses: actions/setup-node@main
with:
Expand Down
Loading

0 comments on commit 4eb734b

Please sign in to comment.