mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-29 07:41:13 +00:00
Try 3
This commit is contained in:
parent
fa97ff4cc4
commit
2091223275
1 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
variables:
|
||||||
|
- &install_pnpm: 'wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh -'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
fetch_git_submodules:
|
fetch_git_submodules:
|
||||||
image: node:20-alpine
|
image: node:20-alpine
|
||||||
|
@ -5,23 +8,24 @@ steps:
|
||||||
- apk add git
|
- apk add git
|
||||||
- git submodule init
|
- git submodule init
|
||||||
- git submodule update --recursive --remote
|
- git submodule update --recursive --remote
|
||||||
# Install pnpm
|
#- source /root/.shrc
|
||||||
- wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh -
|
|
||||||
- source /root/.shrc
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
image: node:20-alpine
|
image: node:20-alpine
|
||||||
commands:
|
commands:
|
||||||
|
- *install_pnpm
|
||||||
- pnpm i
|
- pnpm i
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
image: node:20-alpine
|
image: node:20-alpine
|
||||||
commands:
|
commands:
|
||||||
|
- *install_pnpm
|
||||||
- pnpm lint
|
- pnpm lint
|
||||||
|
|
||||||
build_dev:
|
build_dev:
|
||||||
image: node:20-alpine
|
image: node:20-alpine
|
||||||
commands:
|
commands:
|
||||||
|
- *install_pnpm
|
||||||
- pnpm build:dev
|
- pnpm build:dev
|
||||||
|
|
||||||
publish_release_docker:
|
publish_release_docker:
|
||||||
|
|
Loading…
Reference in a new issue