Skip to content

Merge pull request #6 from yeremi/chore/update-release #11

Merge pull request #6 from yeremi/chore/update-release

Merge pull request #6 from yeremi/chore/update-release #11

Workflow file for this run

name: Stopwords Release
on:
push:
branches:
- main
- master
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: mbstring, bcmath
- name: Install Composer
run: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- name: Install dependencies with Composer
run: composer install --no-dev
- name: Install semantic-release
run: npm install --save-dev semantic-release @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/git @semantic-release/github
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release