diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index db2d8c848d..a24b3fdb56 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -13,14 +13,15 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [16.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + check-latest: true - run: npm install -g yarn - run: yarn install diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index c6a2e2b0cb..2ff2ebdf86 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,16 +16,16 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [16.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + check-latest: true - - run: npm install -g yarn - run: yarn install - run: yarn format-check - run: yarn check-types diff --git a/Dockerfile b/Dockerfile index 35c661a68e..448b75142d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG DEFAULT_KEYCLOAK_ENDPOINT='http:\/\/localhost:8180' -FROM node:12 as builder +FROM node:16 as builder ARG DEFAULT_KEYCLOAK_ENDPOINT ARG KEYCLOAK_ENDPOINT diff --git a/package.json b/package.json index 583c93e460..3823058bd9 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "1.0.0", "main": "index.js", "license": "MIT", + "engines": { + "node": "16" + }, "scripts": { "build": "snowpack build", "build-storybook": "build-storybook -s public",