Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
update
  • Loading branch information
figorr authored Jun 21, 2024
1 parent 899e47e commit bff3364
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ on:
release:
types: [published]

env:
NODE_VERSION: 20 # Define la versión de Node.js a utilizar

jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
NODE_VERSION: ${{ env.NODE_VERSION }} # Propaga la variable de entorno al trabajo

steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -23,7 +29,7 @@ jobs:
# Install dependencies and build
- name: Install dependencies and build
run: |
cd $GITHUB_WORKSPACE # Cambia al directorio raíz del repositorio
cd $GITHUB_WORKSPACE
npm install
npm run build
ls -R dist
Expand Down

0 comments on commit bff3364

Please sign in to comment.