Skip to content

Commit

Permalink
Merge branch 'node16-upstream' into v3
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed Jul 7, 2023
2 parents 031fe85 + 20bbed6 commit b1ce938
Show file tree
Hide file tree
Showing 7 changed files with 296 additions and 644 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/dev-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ on:
# - v3
# todo: remove
- improve-ci-speed
# todo: remove
- node16-upstream
pull_request:
branches:
# - v3
# todo: remove
- improve-ci-speed
# todo: remove
- node16-upstream

env:
# We tell Playwright not to download browser binaries because we use microsoft/playwright-github-action.
Expand All @@ -23,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [16.x]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -65,7 +69,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [16.x]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -118,7 +122,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [16.x]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -174,8 +178,8 @@ jobs:
- name: Run unit tests
run: yarn run test-coverage
- name: Send test coverage report
run: yarn run test-report
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3

docker-push:
# todo: re-add this before merging!
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14
v16
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax = docker/dockerfile:1.4
FROM node:14-alpine as builder
FROM node:16-alpine as builder

WORKDIR /opt/digitransit-ui

Expand Down Expand Up @@ -55,7 +55,7 @@ RUN \
RUN \
rm -rf static docs .cache

FROM node:14-alpine
FROM node:16-alpine
LABEL org.opencontainers.image.title="digitransit-ui"
LABEL org.opencontainers.image.description="open nationwide journey planning platform"
LABEL org.opencontainers.image.authors="[email protected]"
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"dev-nowatch": "bash -c 'NODE_ENV=development node server/server.js & NODE_ENV=development webpack-dev-server'",
"test-accessibility": "./test/accessibility.sh",
"test-coverage": "NODE_ENV=test nyc yarn run test-unit",
"test-report": "codecov",
"test-unit": "yarn test-unit:components && yarn test-unit:store && yarn test-unit:app",
"test-unit:app": "mocha --require mock-local-storage --file test/unit/helpers/babel-register.js --file test/unit/helpers/init.js \"test/unit/**/*.test.js\"",
"test-unit:store": "yarn lerna run build:test --scope '@digitransit-store/*'",
Expand Down Expand Up @@ -79,7 +78,7 @@
},
"engineStrict": true,
"engines": {
"node": ">=12.0.0",
"node": ">=16.17",
"npm": ">=3.0"
},
"browserslist": [
Expand Down Expand Up @@ -256,11 +255,10 @@
"babel-plugin-optimize-clsx": "2.6.1",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"base64-arraybuffer": "0.1.5",
"chai": "4.2.0",
"codecov": "3.7.2",
"chai": "4.3.7",
"compression-webpack-plugin": "5.0.2",
"copy-webpack-plugin": "6.1.0",
"css-loader": "3.6.0",
"css-loader": "^5.2.7",
"documentation": "13.2.5",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.4",
Expand Down Expand Up @@ -296,9 +294,9 @@
"mocha": "8.1.3",
"mock-local-storage": "1.1.15",
"mockdate": "3.0.2",
"node-sass": "4.14.1",
"node-sass": "^6.0.1",
"nodemon": "1.18.10",
"nyc": "15.0.1",
"nyc": "15.1.0",
"optimize-css-assets-webpack-plugin": "5.0.4",
"playwright": "1.16.2",
"postcss": "8.2.1",
Expand All @@ -312,7 +310,7 @@
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-postcss": "4.0.0",
"rollup-plugin-terser": "7.0.2",
"sass-loader": "10.0.2",
"sass-loader": "^10.4.1",
"selenium-webdriver": "4.0.0-alpha.1",
"sinon": "9.0.3",
"stats-webpack-plugin": "0.7.0",
Expand All @@ -328,6 +326,8 @@
"webpack-dev-server": "^3.11.3"
},
"resolutions": {
"html-webpack-plugin": "4.5.2"
"html-webpack-plugin": "4.5.2",
"node-sass/node-gyp": "^8.4.1",
"sharp": "0.31.3"
}
}
97 changes: 0 additions & 97 deletions test/unit/OriginDestinationBar.test.js

This file was deleted.

89 changes: 0 additions & 89 deletions test/unit/component/SummaryPage.test.js

This file was deleted.

Loading

0 comments on commit b1ce938

Please sign in to comment.