From 188ab1ad2b0ee022acb98905d0b9fc090da961ce Mon Sep 17 00:00:00 2001 From: NathanosDev Date: Tue, 8 Oct 2024 01:14:34 +0200 Subject: [PATCH] ci: fix release pipeline --- .github/actions/setup-nodejs/action.yml | 12 ------------ .github/actions/setup-pnpm/action.yml | 5 ++++- .github/workflows/release-beta.yml | 5 ++++- .github/workflows/release-latest.yml | 5 ++++- 4 files changed, 12 insertions(+), 15 deletions(-) delete mode 100644 .github/actions/setup-nodejs/action.yml diff --git a/.github/actions/setup-nodejs/action.yml b/.github/actions/setup-nodejs/action.yml deleted file mode 100644 index fdeabb7..0000000 --- a/.github/actions/setup-nodejs/action.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Setup NodeJS -description: Setup NodeJS - -runs: - using: 'composite' - steps: - - name: Install NodeJS - uses: actions/setup-node@v4 - with: - node-version-file: '.node-version' - registry-url: 'https://registry.npmjs.org' - cache: 'pnpm' diff --git a/.github/actions/setup-pnpm/action.yml b/.github/actions/setup-pnpm/action.yml index 46f888b..9b63723 100644 --- a/.github/actions/setup-pnpm/action.yml +++ b/.github/actions/setup-pnpm/action.yml @@ -9,7 +9,10 @@ runs: with: run_install: false - - uses: ./.github/actions/setup-nodejs + - uses: actions/setup-node@v4 + with: + node-version-file: '.node-version' + cache: 'pnpm' - name: Install dependencies shell: bash diff --git a/.github/workflows/release-beta.yml b/.github/workflows/release-beta.yml index 0aafb93..53d7017 100644 --- a/.github/workflows/release-beta.yml +++ b/.github/workflows/release-beta.yml @@ -21,7 +21,10 @@ jobs: - uses: ./.github/actions/setup-commitizen - - uses: ./.github/actions/setup-nodejs + - uses: actions/setup-node@v4 + with: + node-version-file: '.node-version' + registry-url: 'https://registry.npmjs.org' - name: Build package run: bun build:pic diff --git a/.github/workflows/release-latest.yml b/.github/workflows/release-latest.yml index d555673..3bfd6bb 100644 --- a/.github/workflows/release-latest.yml +++ b/.github/workflows/release-latest.yml @@ -21,7 +21,10 @@ jobs: - uses: ./.github/actions/setup-commitizen - - uses: ./.github/actions/setup-nodejs + - uses: actions/setup-node@v4 + with: + node-version-file: '.node-version' + registry-url: 'https://registry.npmjs.org' - name: Build package run: bun build:pic