Skip to content

Merge pull request #3 from GeorgeCht/dependabot/github_actions/codeco… #19

Merge pull request #3 from GeorgeCht/dependabot/github_actions/codeco…

Merge pull request #3 from GeorgeCht/dependabot/github_actions/codeco… #19

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write
id-token: write
issues: write
pages: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
outputs:
new_release_published: ${{ steps.semantic.outputs.new_release_published }}
steps:
- name: Configure Git
run: |
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config --global user.name ${GITHUB_ACTOR}
shell: bash
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Install Dependencies
run: npm ci
- name: Build Project
run: npm run build
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}