From ecaefc115c9435dfa63eff9c53068e6d0961ffb7 Mon Sep 17 00:00:00 2001 From: cswimr Date: Sun, 22 Dec 2024 12:16:18 -0500 Subject: [PATCH] update workflows --- .forgejo/workflows/actions.yaml | 4 ++-- .forgejo/workflows/publish.yaml | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/actions.yaml b/.forgejo/workflows/actions.yaml index ab206e1..a42fb46 100644 --- a/.forgejo/workflows/actions.yaml +++ b/.forgejo/workflows/actions.yaml @@ -12,7 +12,7 @@ jobs: build: name: Build Plugins runs-on: docker - container: catthehacker/ubuntu:act-latest + container: www.coastalcommits.com/cswimr/actions:yarn steps: - name: Checkout repository uses: actions/checkout@v4 @@ -28,7 +28,7 @@ jobs: lint: name: Lint Plugins runs-on: docker - container: catthehacker/ubuntu:act-latest + container: www.coastalcommits.com/cswimr/actions:yarn steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index ac43b58..ad58ed3 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -6,7 +6,7 @@ jobs: publish: name: Publish plugins runs-on: docker - container: catthehacker/ubuntu:act-latest + container: www.coastalcommits.com/cswimr/actions:yarn steps: - name: Checkout repository uses: actions/checkout@v4 @@ -21,12 +21,13 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 + cache: 'yarn' - name: Configure Git run: | git config --global user.name "${GITHUB_ACTOR}" git config --global user.email "${GITHUB_ACTOR}@noreply@coastalcommits.com" git remote set-url origin git@www.coastalcommits.com:${{ github.repository }} - name: Install dependencies - run: npm ci + run: yarn install --frozen-lockfile - name: Publish plugins to Release branch - run: npm run publish + run: yarn publish