Skip to content

Commit

Permalink
🐛 update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfram77 committed Oct 19, 2023
1 parent bc54264 commit a62b130
Show file tree
Hide file tree
Showing 5 changed files with 568 additions and 2,497 deletions.
61 changes: 30 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
tags:
- '!*' # Do not execute on tags
env:
NAME: ${{vars.NAME}}
EMAIL: ${{vars.EMAIL}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
FORCE_COLOR: 1
Expand All @@ -17,48 +20,45 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest, windows-latest, macOS-latest]
node: [16.x, 18.x]
node: [16.x, 18.x, 20.x]
name: Test with Node ${{matrix.node}} on ${{matrix.platform}}
runs-on: ${{matrix.platform}}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{matrix.node}}
- run: npm ci
- run: npm test


# coverage:
# name: Publish coverage
# needs: [test]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v2
# with:
# node-version: 18.x
# - run: npm ci
# - run: npm test
# - uses: paambaati/[email protected]
# - uses: coverallsapp/github-action@master
# with:
# github-token: ${{secrets.GITHUB_TOKEN}}
coverage:
name: Publish coverage
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20.x
- run: npm ci
- run: npm test
- uses: paambaati/[email protected]
- uses: coverallsapp/github-action@master
with:
github-token: ${{secrets.GITHUB_TOKEN}}


docs:
name: Publish docs
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18.x
- run: git clone https://${GITHUB_TOKEN}@github.com/nodef/deploy "$HOME/deploy"
- run: bash "$HOME/deploy/setup.sh"
node-version: 20.x
- uses: nodef/[email protected]
- run: npm i -g typescript typedoc
- run: npm ci
- run: npm run publish-docs
Expand All @@ -69,14 +69,13 @@ jobs:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
submodules: 'recursive'
- uses: actions/setup-node@v2
node-version: 20.x
- uses: nodef/[email protected]
with:
node-version: 18.x
- run: git clone https://${GITHUB_TOKEN}@github.com/nodef/deploy "$HOME/deploy"
- run: bash "$HOME/deploy/setup.sh"
entries: access = public
- run: npm i -g typescript rollup typedoc browserify terser
- run: npm ci
- run: npm run publish-packages
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest, windows-latest, macOS-latest]
node: [16.x, 18.x]
node: [16.x, 18.x, 20.x]
name: Test with Node ${{ matrix.node }} on ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm ci
Expand Down
Loading

0 comments on commit a62b130

Please sign in to comment.