Skip to content

Commit

Permalink
feat: node:slim
Browse files Browse the repository at this point in the history
  • Loading branch information
mathhulk committed Jun 24, 2024
1 parent 4856881 commit 1d571a2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -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=_
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 .
Expand Down

0 comments on commit 1d571a2

Please sign in to comment.