Skip to content

Commit

Permalink
🐛 update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfram77 committed Sep 29, 2024
1 parent ecd8031 commit d0f0e0d
Show file tree
Hide file tree
Showing 5 changed files with 1,563 additions and 4,372 deletions.
59 changes: 31 additions & 28 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,46 +20,45 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest, windows-latest, macOS-latest]
node: [16.x, 18.x]
node: [20.x, 22.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/codeclimate-action@v3.0.0
# - 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: 22.x
- run: npm ci
- run: npm test
- uses: paambaati/codeclimate-action@v3.0.0
- 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
- 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: 22.x
- uses: nodef/git-config.action@v1.0.0
- run: npm i -g typescript typedoc
- run: npm ci
- run: npm run publish-docs
Expand All @@ -67,12 +69,13 @@ jobs:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 22.x
- uses: nodef/npm-config.action@v1.0.0
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: [20.x, 22.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
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018-22 Subhajit Sahu
Copyright (c) 2018-24 Subhajit Sahu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit d0f0e0d

Please sign in to comment.