Skip to content

Upgraded node version for the release action #29

Upgraded node version for the release action

Upgraded node version for the release action #29

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
concurrency: release
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install Yarn
uses: borales/actions-yarn@v5
with:
cmd: install # will run `yarn install` command
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: Enonic JS Utils ${{ github.ref_name }}