Skip to content

remove Composer from PHP Dockerfile #14

remove Composer from PHP Dockerfile

remove Composer from PHP Dockerfile #14

Workflow file for this run

on:
push:
branches:
- main
paths:
- package.json
jobs:
release:
runs-on: ubuntu-latest
permissions: write-all
steps:
# Checkout the repository
- uses: actions/checkout@v4
# Create a new version tag
- uses: Klemensas/action-autotag@stable
id: tag
with:
tag_prefix: v
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Create the changelog
- uses: heinrichreimer/[email protected]
id: changelog
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Extract the release notes
- uses: actions-ecosystem/action-regex-match@v2
id: releasenotes
with:
text: ${{ steps.changelog.outputs.changelog }}
regex: ^(\n|.)*?(##(.+)\n\n((\n|.)*?))(\n)+(##(\n|.)*)?(\n)+\\\*(.+)$
# Create a new GitHub release
- uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag.outputs.tagname }}
body: ${{ steps.releasenotes.outputs.group4 }}
# Publish a new NPM version
- uses: JS-DevTools/npm-publish@v3
with:
access: public
token: ${{ secrets.NPM_TOKEN }}