diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 12bd1e2..0abe823 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -19,6 +19,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '16' - run: echo "REACT_APP_BACKEND_URL=${{ secrets.DEV_BACKEND_URL }}" > .env - run: echo "REACT_APP_OAUTH_CLIENT_ID=${{ secrets.DEV_OAUTH_CLIENT_ID }}" >> .env - run: rm -rf node_modules && yarn install --frozen-lockfile && yarn build diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 2e2406e..31d164b 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -18,6 +18,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '16' - run: echo "REACT_APP_BACKEND_URL=${{ secrets.PREVIEW_BACKEND_URL }}" > .env - run: echo "REACT_APP_OAUTH_CLIENT_ID=${{ secrets.DEV_OAUTH_CLIENT_ID }}" >> .env - run: rm -rf node_modules && yarn install --frozen-lockfile && yarn build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 86bc299..339b1e7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -39,7 +39,7 @@ jobs: if: steps.changes.outputs.frontend == 'true' || steps.changes.outputs.typescript-backend == 'true' uses: actions/setup-node@v2 with: - node-version: "14.15.5" + node-version: "16.0.0" cache: "yarn" cache-dependency-path: | frontend/yarn.lock diff --git a/backend/typescript/Dockerfile b/backend/typescript/Dockerfile index 720f95f..2e85769 100644 --- a/backend/typescript/Dockerfile +++ b/backend/typescript/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14.15.5-slim +FROM node:16.0.0-slim WORKDIR /app diff --git a/backend/typescript/package.json b/backend/typescript/package.json index 428726d..8edb1ed 100644 --- a/backend/typescript/package.json +++ b/backend/typescript/package.json @@ -83,6 +83,6 @@ "graphql-upload": "^11.0.0" }, "engines": { - "node": "14.15.5" + "node": "16.0.0" } } diff --git a/frontend/Dockerfile b/frontend/Dockerfile index edbdfea..476e5ae 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14.15.5-slim +FROM node:16.0.0-slim WORKDIR /app