diff --git a/.github/workflows/releases-dev.yml b/.github/workflows/releases-dev.yml index 5448735d8..1fa43ae1f 100644 --- a/.github/workflows/releases-dev.yml +++ b/.github/workflows/releases-dev.yml @@ -37,52 +37,6 @@ jobs: - name: Build Package run: pnpm build:full - - uses: actions/cache@v3 - env: - cache-name: cache-node-modules - with: - path: ./packages - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-workspace.yaml') }} - release: - name: Release DEV - runs-on: ubuntu-latest - needs: - - build - outputs: - commit: ${{ steps.vars.outputs.commit }} - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - ref: ${{github.event.after}} - persist-credentials: false - - - uses: pnpm/action-setup@v2.2.4 - - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: 16.x - cache: 'pnpm' - registry-url: https://registry.npmjs.org/ - - - run: corepack enable - - - name: Install NPM Dependencies - run: pnpm install --frozen-lockfile - - - uses: actions/cache@v3 - env: - cache-name: cache-node-modules - with: - path: ./packages - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-workspace.yaml') }} - - - name: get-npm-version - id: package-version - uses: martinbeentjes/npm-get-version-action@main - - name: Release @bot-whatsapp/bot run: node ./scripts/release.js --name=bot --version= --token="${{ secrets.NPM_TOKEN }}"