mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-05 20:41:43 -07:00
ci: small changes
This commit is contained in:
parent
f6a90c3483
commit
306112de5d
3 changed files with 2 additions and 23 deletions
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
|
@ -7,7 +7,7 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "27 2 * * 4"
|
- cron: "30 2 * * 6"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
|
|
20
.github/workflows/lock.yml
vendored
20
.github/workflows/lock.yml
vendored
|
@ -1,20 +0,0 @@
|
||||||
---
|
|
||||||
name: Lock
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 9 * * *"
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
lock:
|
|
||||||
name: 🔒 Lock closed issues and PRs
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: dessant/lock-threads@v2.0.3
|
|
||||||
with:
|
|
||||||
github-token: ${{ github.token }}
|
|
||||||
issue-lock-inactive-days: "30"
|
|
||||||
issue-lock-reason: ""
|
|
||||||
pr-lock-inactive-days: "1"
|
|
||||||
pr-lock-reason: ""
|
|
|
@ -2,14 +2,13 @@ FROM --platform=$BUILDPLATFORM node:lts-alpine as frontend-build
|
||||||
|
|
||||||
ENV GENERATE_SOURCEMAP=false
|
ENV GENERATE_SOURCEMAP=false
|
||||||
|
|
||||||
WORKDIR /app/frontend
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
COPY --link package.json yarn.lock* .yarnrc.yml ./
|
COPY --link package.json yarn.lock* .yarnrc.yml ./
|
||||||
COPY --link .yarn/ ./.yarn
|
COPY --link .yarn/ ./.yarn
|
||||||
|
WORKDIR /app/frontend
|
||||||
COPY --link ./frontend/package.json /app/frontend
|
COPY --link ./frontend/package.json /app/frontend
|
||||||
RUN yarn workspaces focus frontend
|
RUN yarn workspaces focus frontend
|
||||||
COPY --link ./frontend /app/frontend
|
COPY --link ./frontend /app/frontend
|
||||||
WORKDIR /app/frontend
|
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue