From 246b394d1bc29d31e93a85c4c64bc6f2ec3a1c0a Mon Sep 17 00:00:00 2001 From: Chris Tran Date: Mon, 2 Dec 2024 17:18:09 -0600 Subject: [PATCH] ci: removes deprecated deploy workflow --- .github/workflows/deploy.yml | 56 ------------------------------------ 1 file changed, 56 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 0a98e27..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Deploy To NPM - -on: - workflow_dispatch: - -env: - API_KEY: ${{ secrets.API_KEY }} - APP_ID: ${{ secrets.APP_ID }} - APP_TOKEN: ${{ secrets.APP_TOKEN }} - EXAMPLE_USER_ID: ${{ secrets.EXAMPLE_USER_ID }} - PUBLIC_KEY: ${{ secrets.PUBLIC_KEY }} - NPM_ACCESS_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} - PAT: ${{ secrets.BEACHBALL_PAT }} - -jobs: - publish: - name: Deploy To NPM - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - token: ${{ env.PAT }} - - - name: Setup Node Version using nvmrc - uses: actions/setup-node@v3 - with: - node-version-file: '.nvmrc' - - - 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 set-version && 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 }}