Compare commits
2
Commits
faf0470e6a
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
768bcc90e4 | ||
|
|
c57e8dc2fc |
No files matched your search
@@ -73,27 +73,19 @@ jobs:
|
||||
build-frontend:
|
||||
name: Build Yale Access Frontend
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./packages/frontend
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
- name: Setup PNPM and Node
|
||||
uses: pnpm/setup@v3
|
||||
with:
|
||||
node-version: 20.x
|
||||
|
||||
- name: Setup Yarn
|
||||
run: npm install -g yarn
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
working-directory: packages/frontend
|
||||
runtime: node@22
|
||||
|
||||
- name: Build
|
||||
run: yarn run build
|
||||
working-directory: ./packages/frontend
|
||||
run: pnpm run build
|
||||
|
||||
publish-frontend:
|
||||
name: Push Yale Access Frontend Docker Image
|
||||
|
||||
@@ -2,6 +2,7 @@ FROM node:lts-alpine as build
|
||||
WORKDIR /src
|
||||
COPY ["package.json", "."]
|
||||
COPY ["pnpm-lock.yaml", "pnpm-workspace.yaml", "."]
|
||||
RUN corepack enable
|
||||
RUN pnpm install --frozen-lockfile
|
||||
COPY . .
|
||||
RUN pnpm build
|
||||
|
||||
Reference in new issue
Block a user