Skip to content

chore(release): v0.9.0-pre.3 (#1080) #5

chore(release): v0.9.0-pre.3 (#1080)

chore(release): v0.9.0-pre.3 (#1080) #5

name: Generate new pre-release
on:
push:
tags:
- 'v[0-9].[0-9]+.[0-9]+-?**'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Always release the tag ${GITHUB_REF} version
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: git config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Install dependencies 📦
run: npm install
- name: Publish Oruga pre-release🐛
run: npm run publish:lib:pre
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish Examples pre-release 🦋
run: npm run publish:examples:pre
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Generate Release Body 📋
run: npm i extract-changelog-release
run: npx extract-changelog-release > RELEASE_BODY.md

Check failure on line 35 in .github/workflows/publish-pre-release.yml

View workflow run for this annotation

GitHub Actions / Generate new pre-release

Invalid workflow file

The workflow is not valid. .github/workflows/publish-pre-release.yml (Line: 35, Col: 9): 'run' is already defined .github/workflows/publish-pre-release.yml (Line: 36, Col: 9): Unexpected value 'uses'
uses: ncipollo/release-action@v1
with:
bodyFile: 'RELEASE_BODY.md'
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}