Skip to content

Commit

Permalink
feat: Node 16 (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlockhart authored Jun 27, 2022
1 parent 32912f9 commit e42f669
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: Brightspace/third-party-actions@actions/checkout
- uses: Brightspace/third-party-actions@actions/setup-node
with:
node-version: '14'
node-version-file: .nvmrc
- name: Install dependencies
run: npm install
- name: Build
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
- '[0-9]+.[0-9]+.x'
jobs:
release:
if: "!contains(github.event.head_commit.message, 'skip ci')"
name: Release
timeout-minutes: 5
runs-on: ubuntu-latest
Expand All @@ -19,7 +18,7 @@ jobs:
- name: Setup Node
uses: Brightspace/third-party-actions@actions/setup-node
with:
node-version: '14'
node-version-file: .nvmrc
- name: Install dependencies
run: npm install
- name: Build
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@babel/eslint-parser": "^7",
"@brightspace-ui/stylelint-config": "^0.4",
"eslint": "^8",
"eslint-config-brightspace": "^0.17",
"eslint-config-brightspace": "^0.18",
"eslint-plugin-html": "^6",
"eslint-plugin-import": "^2",
"eslint-plugin-lit": "^1",
Expand Down
2 changes: 1 addition & 1 deletion src/generators/default-content/templates/static/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
16
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
- '[0-9]+.[0-9]+.x'
jobs:
release:
if: "!contains(github.event.head_commit.message, 'skip ci')"
name: Release
timeout-minutes: 5
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions src/generators/test-unit/templates/configured/_package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"scripts": {
"test": "npm run lint && npm run test:headless",
"test:headless": "web-test-runner",
"test:headless:watch": "web-test-runner --watch"
"test:headless": "web-test-runner --files ./test/**/*.test.js --node-resolve",
"test:headless:watch": "web-test-runner --files ./test/**/*.test.js --node-resolve --watch"
},
"dependencies": {
"@brightspace-ui/core": "^2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
- name: Lint (Lit)
run: npm run lint:lit
- name: Unit Tests (cross-browser)
run: npx web-test-runner --config web-test-runner.config.js --group default --playwright --browsers chromium firefox webkit
run: npx web-test-runner --files ./test/**/*.test.js --node-resolve --playwright --browsers chromium firefox webkit

This file was deleted.

0 comments on commit e42f669

Please sign in to comment.