Skip to content

Commit

Permalink
feat: update to NodeJS 16.19.0 (CUR-2370)
Browse files Browse the repository at this point in the history
BREAKING CHANGES
  • Loading branch information
mgabeler-lee-6rs authored Apr 3, 2023
2 parents 2b83488 + 33bcf46 commit 358ae36
Show file tree
Hide file tree
Showing 5 changed files with 11,129 additions and 1,580 deletions.
32 changes: 12 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
version: 2.1

orbs:
sixrs-gke: sixriversystems/sixrs-gke@2
sixrs-gke: sixriversystems/sixrs-gke@7

aliases:
- &node_image cimg/node:16.19.1

jobs:
install:
docker:
- image: cimg/node:14.17.6
- image: *node_image
environment:
NODE_ENV: test
steps:
Expand All @@ -21,20 +24,17 @@ jobs:
- .
test:
docker:
- image: cimg/node:14.17.6
- image: *node_image
environment:
NODE_ENV: test
MOCHA_OPTS: --reporter mocha-junit-reporter --reporter-options mochaFile=./reports/junit/mocha/mocha.xml
ESLINT_OPTS: --quiet --format junit -o ./reports/junit/eslint/eslint.xml
steps:
- attach_workspace:
at: ./
- run:
name: npm test
command: npm test
- run:
name: npm run coverage
command: npm run coverage
- run: npm test
- run: npm run coverage
- sixrs-gke/codecov
- store_artifacts:
path: coverage
- store_artifacts:
Expand All @@ -44,23 +44,15 @@ jobs:

publish:
docker:
- image: cimg/node:14.17.6
- image: *node_image
environment:
NODE_ENV: test
steps:
- attach_workspace:
at: ./
- run:
name: npm run build
command: npm run build
# pure-js, no build step
- sixrs-gke/run-release
- run:
name: Set NPM Auth
command: |
npm config set //registry.npmjs.org/:_authToken "${NPM_TOKEN}"
- run:
name: npm publish
command: npm publish
- sixrs-gke/npm-public-publish

workflows:
version: 2
Expand Down
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ insert_final_newline = true
indent_style = space
indent_size = 2

# NPM requires spaces
[package.json]
indent_style = space
indent_size = 2
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.17.6
16.19.1
Loading

0 comments on commit 358ae36

Please sign in to comment.