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: