From 8b659e77e18329d4ed0640e9d41f508e8c9a0d6c Mon Sep 17 00:00:00 2001 From: Chris Tran Date: Fri, 6 Dec 2024 13:39:18 -0600 Subject: [PATCH] ci: removes deprecated deploy workflow (#69) --- .github/workflows/deploy.yml | 50 ------------------------------------ 1 file changed, 50 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index d0853d9..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: Deploy To NPM - -on: - workflow_dispatch: - -env: - TEST_API_KEY: ${{ secrets.TEST_API_KEY }} - TEST_APP_ID: ${{ secrets.TEST_APP_ID }} - TEST_USER_ID: ${{ secrets.TEST_USER_ID }} - TEST_USER_IDENTIFIER: ${{ secrets.TEST_USER_IDENTIFIER }} - NPM_ACCESS_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} - PAT: ${{ secrets.GH_ACCESS_TOKEN }} # this is the BEACHBALL_PAT - -jobs: - publish: - name: Deploy To NPM - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - token: ${{ env.PAT }} - - - name: Unit Test - run: npm i && npm run test - - - name: Beachball Check - run: | - npm run beachball-check - - - name: Beachball Bump - run: | - npm run beachball-bump - - - name: Build - run: npm run build - - - name: Clear Beachball Changes - run: | - git reset --hard - - - name: Deploy to NPM - run: | - git config user.email "beachball_bot@passage.id" - git config user.name "Beachball Machine Account" - git remote set-url origin https://$GITHUB_ACTOR:$PAT@github.com/$GITHUB_REPOSITORY.git - npm run publish -- --token "$NPM_ACCESS_TOKEN" - env: - NPM_ACCESS_TOKEN: ${{ env.NPM_ACCESS_TOKEN }}