Skip to content

Commit

Permalink
Merge pull request #17 from cto-af/update-deps
Browse files Browse the repository at this point in the history
Update dependencies, fix lint issues, move to GHA publishing
  • Loading branch information
hildjj authored Aug 1, 2024
2 parents e1cb286 + 9f08728 commit 0b5388e
Show file tree
Hide file tree
Showing 20 changed files with 1,708 additions and 1,414 deletions.
39 changes: 0 additions & 39 deletions .eslintrc.cjs

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
node-version: [18.x, 20.x, 22.x]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
Expand All @@ -34,4 +34,6 @@ jobs:
- name: Test
run: npm run test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
cache: pnpm
- run: pnpm i -r
- run: npm run build
- run: npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
10 changes: 5 additions & 5 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
.c8rc
.editorconfig
.eslintrc.cjs
.github/
.mocharc.cjs
.ncurc
.vscode/
assets
coverage/
docs/
eslint.config.js
examples/
t.js
test/
tools/
tsconfig.json
docs/
typedoc.config.cjs
t.js
assets
.ncurc
31 changes: 17 additions & 14 deletions docs/assets/icons.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions docs/assets/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/search.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0b5388e

Please sign in to comment.