ci: migrate workflows and dependencies to Gitea Actions
This commit is contained in:
5 files changed
+166
-94
No files matched your search
+3
-2
@@ -6,7 +6,8 @@ RUN apk add --no-cache make
|
||||
RUN apk add --no-cache gcc
|
||||
RUN apk add --no-cache build-base
|
||||
|
||||
RUN npm install -g pnpm
|
||||
RUN npm install -g pnpm@9.12.3
|
||||
ENV npm_config_build_from_source=true
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
@@ -19,7 +20,7 @@ COPY . .
|
||||
RUN pnpm run build
|
||||
|
||||
RUN mkdir ./dist/bin/
|
||||
RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/src/app/dist/bin/yt-dlp
|
||||
COPY .ci/vendor/yt-dlp /usr/src/app/dist/bin/yt-dlp
|
||||
RUN chmod a+rx /usr/src/app/dist/bin/yt-dlp
|
||||
|
||||
RUN pnpm install --prod
|
||||
|
||||
Reference in new issue
Block a user