From b6ab62b14d5ef3237316dabab39a73ddef79ae2a Mon Sep 17 00:00:00 2001 From: Bamdad Sabbagh Date: Wed, 3 Jul 2024 02:09:06 +0200 Subject: [PATCH] chore(CI): update workflow --- ...tic-release-yarn--onPush.yml => release.yml} | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) rename .github/workflows/{semantic-release-yarn--onPush.yml => release.yml} (85%) diff --git a/.github/workflows/semantic-release-yarn--onPush.yml b/.github/workflows/release.yml similarity index 85% rename from .github/workflows/semantic-release-yarn--onPush.yml rename to .github/workflows/release.yml index c0a6653..5d126c0 100644 --- a/.github/workflows/semantic-release-yarn--onPush.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: semantic-release-yarn-with-build--onPush +name: release on: push: @@ -6,20 +6,16 @@ on: - master jobs: - semantic-release-yarn-with-build--onMondays-1030: + release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - uses: actions/setup-node@master with: - node-version: '14' - - - run: yarn - - - run: yarn build - + node-version: '20' + - run: npm -g i pnpm + - run: pnpm i --frozen-lockfile --ignore-scripts + - run: pnpm build - run: | npm install -g \ semantic-release \ @@ -31,7 +27,6 @@ jobs: semantic-release-chrome \ semantic-release-firefox-add-on \ aggregate-error@3.1.0 - - run: semantic-release env: GH_TOKEN: ${{ secrets.PAT }}