Skip to content

Commit

Permalink
Hamster Left A Pull Request - (Fix CI) (#250)
Browse files Browse the repository at this point in the history
* Fix CI

* Update .gitlab-ci.yml

---------

Co-authored-by: Vedansh <[email protected]>
  • Loading branch information
TheHamsterBot and offensive-vk authored Oct 10, 2024
1 parent 150e018 commit 7d0e146
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
tags:
- '*'
schedule:
- cron: '0 0 1 * *'
- cron: '0 0 * * 0'
workflow_dispatch:

env:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CD / Docker

on:
schedule:
- cron: '10 0 * * 0'
- cron: '0 0 * * 0'
workflow_dispatch:

env:
Expand Down Expand Up @@ -50,6 +50,10 @@ jobs:
tags: |
latest
edge
labels: |
org.opencontainers.image.title=untileverything
org.opencontainers.image.vendor=Vedansh
org.opencontainers.image.source=https://github.com/offensive-vk/UntilEverything/
- name: Verify Tags and Labels
run: |
Expand Down
30 changes: 15 additions & 15 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,50 +13,50 @@ setup-pnpm:
stage: setup
script:
- node -v && npm -v
- npm install -g [email protected] # Ensure pnpm is globally installed
- pnpm -v # Verify pnpm installation
- npm install -g [email protected]
- pnpm -v

build-node19:
stage: build
script:
- pnpm install
- pnpm run build
- npx pnpm install
- npx pnpm run build
artifacts:
paths:
- node_modules/

build-node18:
stage: build
script:
- pnpm install
- pnpm run build
- npx pnpm install
- npx pnpm run build
artifacts:
paths:
- node_modules/

build-node20:
stage: build
script:
- pnpm install
- pnpm run build
- npx pnpm install
- npx pnpm run build
artifacts:
paths:
- node_modules/

build-node22:
build-node21:
stage: build
script:
- pnpm install
- pnpm run build
- npx pnpm install
- npx pnpm run build
artifacts:
paths:
- node_modules/

build-node21:
build-node22:
stage: build
script:
- pnpm install
- pnpm run build
- npx pnpm install
- npx pnpm run build
artifacts:
paths:
- node_modules/
Expand All @@ -66,4 +66,4 @@ development:
script:
- echo "Executing Project With pnpm."
- sleep 3
- pnpm start
- npm start

0 comments on commit 7d0e146

Please sign in to comment.