Remove yarn cache from CI
Some checks failed
Lint and Build / Run lint and build checks (pull_request) Failing after 26s

This commit is contained in:
Nabarun 2025-07-11 12:46:44 +05:30
parent 246c43ddfa
commit c36228a9b9
2 changed files with 7 additions and 12 deletions

View File

@ -1,12 +1,8 @@
name: Publish wallet docker image on release
# on:
# release:
# types: [published]
on:
pull_request:
branches: [ main ]
release:
types: [published]
jobs:
build:
@ -20,14 +16,14 @@ jobs:
id: vars
run: |
echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
# echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/})
echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/})
- name: Tag docker image
run: docker tag laconic-wallet-web git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.sha}}
# - name: Tag docker image
# run: docker tag git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.sha}} git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.tag}}
- name: Tag docker image
run: docker tag git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.sha}} git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.tag}}
- name: Docker Login
run: echo ${{ secrets.CICD_PUBLISH_TOKEN }} | docker login https://git.vdb.to -u laconiccicd --password-stdin
- name: Docker Push
run: docker push git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.sha}}
# - name: Docker Push TAGGED
# run: docker push git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.tag}}
- name: Docker Push TAGGED
run: docker push git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.tag}}

View File

@ -16,7 +16,6 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '22'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile