From 15e22e8914365c5b11381f557023940f58daadce Mon Sep 17 00:00:00 2001 From: Matthew Rowland Date: Mon, 24 Jun 2024 16:41:19 -0700 Subject: [PATCH] feat: node:slim --- .env.template | 2 ++ .github/workflows/gen.yaml | 6 +++--- .github/workflows/lint.yaml | 6 +++--- frontend/Dockerfile | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.env.template b/.env.template index 7b0b0d830..3deff41ff 100644 --- a/.env.template +++ b/.env.template @@ -10,6 +10,8 @@ SIS_CLASS_APP_ID=_ SIS_CLASS_APP_KEY=_ SIS_COURSE_APP_ID=_ SIS_COURSE_APP_KEY=_ +SIS_TERM_APP_ID=_ +SIS_TERM_APP_KEY=_ GOOGLE_CLIENT_ID=_ GOOGLE_CLIENT_SECRET=_ diff --git a/.github/workflows/gen.yaml b/.github/workflows/gen.yaml index 17f5e5dd4..dcf68b07f 100644 --- a/.github/workflows/gen.yaml +++ b/.github/workflows/gen.yaml @@ -10,10 +10,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: install node v12 - uses: actions/setup-node@v1 + - name: install latest node version + uses: actions/setup-node@v4 with: - node-version: 12 + node-version: latest - name: npm install and gen working-directory: ./backend diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 78ca9d9bb..9940d5277 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - name: install node v12 - uses: actions/setup-node@v1 + - name: install latest node version + uses: actions/setup-node@v4 with: - node-version: 12 + node-version: latest - name: npm install and lint working-directory: ./backend run: | diff --git a/frontend/Dockerfile b/frontend/Dockerfile index c3c211e5c..baad9a333 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14-slim@sha256:4402144207a33ba95cb1119be593b9a9699721ad46e15acd32a0b5ca8784a527 AS dev +FROM node:slim AS dev RUN mkdir /frontend WORKDIR /frontend COPY package.json .