Skip to content

Merge pull request #19 from rombat/fix/github-actions #4

Merge pull request #19 from rombat/fix/github-actions

Merge pull request #19 from rombat/fix/github-actions #4

Workflow file for this run

name: Release
on:
push:
branches: [master]
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: Install pkg globally
run: npm install -g pkg
- name: Install dependencies
run: npx ci
- name: Install semantic-release extra plugins
run: npm install -D semantic-release@22.0.12 @semantic-release/exec @semantic-release/changelog @semantic-release/git @semantic-release/github@9.2.6
- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: npx semantic-release