Skip to content

Commit

Permalink
Merge pull request #35 from github/dg/update-deps
Browse files Browse the repository at this point in the history
Update deps
  • Loading branch information
dgreif authored Oct 14, 2024
2 parents 5ec4395 + bfc719b commit a8558ee
Show file tree
Hide file tree
Showing 9 changed files with 3,285 additions and 1,237 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
- run: npm install
- run: npm run build
- run: npm test
env:
CI: true

- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm install
- run: npm run build
- run: npm test
env:
CI: true
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm ci
Expand Down
8 changes: 4 additions & 4 deletions karma.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ module.exports = function (config) {
config.set({
frameworks: ['mocha', 'chai'],
files: [
{ pattern: 'dist/index.js', type: 'module' },
{ pattern: 'dist/async-tasks.js', type: 'module' },
{ pattern: 'test/test.js', type: 'module' }
{pattern: 'dist/index.js', type: 'module'},
{pattern: 'dist/async-tasks.js', type: 'module'},
{pattern: 'test/test.js', type: 'module'},
],
reporters: ['mocha'],
port: 9876,
Expand All @@ -30,6 +30,6 @@ module.exports = function (config) {
browsers: ['ChromeHeadless'],
autoWatch: false,
singleRun: true,
concurrency: Infinity
concurrency: Infinity,
})
}
Loading

0 comments on commit a8558ee

Please sign in to comment.