Skip to content

Commit

Permalink
Merge 750bdb3 into eafb8b1
Browse files Browse the repository at this point in the history
  • Loading branch information
w3nl committed Nov 27, 2023
2 parents eafb8b1 + 750bdb3 commit 777e65c
Show file tree
Hide file tree
Showing 9 changed files with 3,489 additions and 12,232 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 17.x]
node-version: [18.x, 20.x, 21.x]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install, lint, and test
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- run: npm ci
- run: npm run vulnerabilities
- run: npm run lint
Expand All @@ -21,10 +21,10 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci --production
- run: npm publish --access public
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install, lint, and test
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.13.2
20.10.0
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ dist: trusty
addons:
language: node_js
node_js:
- "14"
- "16"
- "17"
- "18"
- "20"
- "21"
before_script:
- npm run lint
after_script:
- npm run coveralls
git:
depth: 10
cache:
Expand Down
2 changes: 0 additions & 2 deletions jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ module.exports = {

testMatch: ['**/__tests__/*.js'],

testURL: 'http://localhost/',

collectCoverage: true,
collectCoverageFrom: ['src/**/*.js'],
testResultsProcessor: 'jest-sonar-reporter',
Expand Down

0 comments on commit 777e65c

Please sign in to comment.