Skip to content

Commit

Permalink
chore: use Node.js 16.x for building package and tests
Browse files Browse the repository at this point in the history
Also upgrade @wdio@6 -> @wdio@7
  • Loading branch information
ctavan committed Nov 30, 2021
1 parent cf49e8b commit e26edd8
Show file tree
Hide file tree
Showing 38 changed files with 19,219 additions and 6,143 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
!.babelrc.js
node_modules/
.local/
dist/
node_modules/
4 changes: 2 additions & 2 deletions .github/workflows/browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- uses: actions/checkout@v1
with:
fetch-depth: 10
- name: Use Node.js 12.x
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x
- run: npm install
- name: Test Browser
run: npm run test:browser
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- uses: actions/checkout@v1
with:
fetch-depth: 10
- name: Use Node.js 12.x to build
- name: Use Node.js 16.x to build
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x
- run: npm install
- run: npm run build
- run: rm -rf node_modules
Expand All @@ -31,14 +31,14 @@ jobs:
env:
CI: true
- run: npm run lint
if: matrix.node-version == '12.x'
if: matrix.node-version == '16.x'
- run: npm run docs:diff
if: matrix.node-version == '12.x'
if: matrix.node-version == '16.x'
- run: npm run bundlewatch
if: matrix.node-version == '12.x'
if: matrix.node-version == '16.x'
env:
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
- run: npm run test:node
if: matrix.node-version == '12.x' || matrix.node-version == '14.x'
if: matrix.node-version >= '12.x'
- run: npm run test:pack
if: matrix.node-version == '14.x'
if: matrix.node-version >= '12.x'
1 change: 0 additions & 1 deletion .local/dist

This file was deleted.

1 change: 0 additions & 1 deletion .local/package.json

This file was deleted.

1 change: 1 addition & 0 deletions .local/uuid/abc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sdfkl;
1 change: 1 addition & 0 deletions .local/uuid/dist
1 change: 1 addition & 0 deletions .local/uuid/package.json
1 change: 1 addition & 0 deletions .local/uuid/v1.js
1 change: 1 addition & 0 deletions .local/uuid/v3.js
1 change: 1 addition & 0 deletions .local/uuid/v4.js
1 change: 1 addition & 0 deletions .local/uuid/v5.js
1 change: 1 addition & 0 deletions .local/uuid/wrapper.mjs
1 change: 0 additions & 1 deletion .local/v1.js

This file was deleted.

1 change: 0 additions & 1 deletion .local/v3.js

This file was deleted.

1 change: 0 additions & 1 deletion .local/v4.js

This file was deleted.

1 change: 0 additions & 1 deletion .local/v5.js

This file was deleted.

1 change: 0 additions & 1 deletion .local/wrapper.mjs

This file was deleted.

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.local/
dist/
node_modules/
README.md
117 changes: 109 additions & 8 deletions examples/benchmark/package-lock.json

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

2 changes: 1 addition & 1 deletion examples/benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test": "node benchmark.js"
},
"dependencies": {
"uuid": "file:../../.local"
"uuid": "file:../../.local/uuid"
},
"devDependencies": {
"benchmark": "^2.1.4"
Expand Down
80 changes: 78 additions & 2 deletions examples/browser-esmodules/package-lock.json

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

2 changes: 1 addition & 1 deletion examples/browser-esmodules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"start": "npm run build && npx http-server . -o"
},
"dependencies": {
"uuid": "file:../../.local"
"uuid": "file:../../.local/uuid"
}
}
Loading

0 comments on commit e26edd8

Please sign in to comment.