Skip to content

Commit

Permalink
Merge pull request #681 from codigoencasa/dev
Browse files Browse the repository at this point in the history
ci: ⚡ change YML
  • Loading branch information
leifermendez committed Feb 26, 2023
2 parents efc9da6 + 67cde4f commit ff66461
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/releases-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

Expand Down

0 comments on commit ff66461

Please sign in to comment.