From 282955a9a8c3ebb0cc424141e17454e7df35da22 Mon Sep 17 00:00:00 2001 From: jimmy Date: Tue, 18 Mar 2025 16:52:55 +0100 Subject: [PATCH] chore: revert pubish and deploy workflows --- .github/workflows/deploy.yml | 12 ++++++++++-- .github/workflows/publish.yml | 14 ++++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 226abb15..27f300d2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,8 +18,16 @@ jobs: with: fetch-depth: 0 - - name: Setup Environment - uses: ./.github/actions/setup-workspace + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 22 + + - name: Install dependencies + run: | + corepack enable + corepack prepare --activate + pnpm install --frozen-lockfile - name: Build example project run: pnpm --filter examples build:deploy diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e7f4f392..159fc040 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,8 +21,18 @@ jobs: id: vars run: echo ::set-output name=version::$(jq -r .version package.json) - - name: Setup Environment - uses: ./.github/actions/setup-workspace + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 22 + registry-url: "https://npm.pkg.github.com" + scope: "@axiscommunications" + + - name: Install dependencies + run: | + corepack enable + corepack prepare --activate + pnpm install --frozen-lockfile - name: Build env: