Skip to content

Fix the release action #2

Fix the release action

Fix the release action #2

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: latest
- run: npm ci

Check failure on line 25 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
- name: Publish
- run: npm run build
- run: npm test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: Enonic React Components ${{ github.ref_name }}