Skip to content

Commit

Permalink
Install Node
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelangelmorenochacon committed Jul 1, 2024
1 parent 9729780 commit 224dd4f
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:

jobs:
build:
name: Build [Node.js ${{ matrix.node-version }}]
runs-on: ubuntu-22.04

strategy:
Expand All @@ -32,13 +33,11 @@ jobs:
# Build
###

# - name: Set up Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v4
# with:
# # FIXME: Is this necessary?
# node-version: ${{ matrix.node-version }}
# registry-url: https://npm.pkg.github.com
# scope: '@CartoDB'
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: https://npm.pkg.github.com

# - name: Enable Corepack
# run: corepack enable
Expand Down Expand Up @@ -88,8 +87,8 @@ jobs:
console.log(`Release type: ${releaseType}`)
return releaseType
# - name: Publish release
# if: startsWith(github.ref, 'refs/tags/')
# env:
# NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: npm publish
- name: Publish release
if: startsWith(github.ref, 'refs/tags/')
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm publish --tag ${{steps.get-release-type.outputs.result}}

0 comments on commit 224dd4f

Please sign in to comment.