Skip to content

Prepare release 2.0.0 (#8) #19

Prepare release 2.0.0 (#8)

Prepare release 2.0.0 (#8) #19

Workflow file for this run

name: Continuous integration
on:
push:
branches: [master]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: yarn install
- run: yarn test
create-release:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
id: create-release
with:
tag_name: ${{ format('{0}-test-release', github.sha) }}
name: "CI test release"
body: |
# Heading
This is a test release with some markdown.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Validate that release exists
run: curl --fail ${{ steps.create-release.outputs.url }}