fix(prettier): mv prettier.json
to prettier.config.js
#288
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
repository_dispatch: | |
# curl -v -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${GH_TOKEN}" | |
# https://api.github.com/repos/bent10/doogu/dispatches -d '{ "event_type": "semantic-release" }' | |
types: [semantic-release] | |
push: | |
branches: | |
- main | |
- next | |
- next-major | |
- beta | |
- alpha | |
- '*.x' | |
jobs: | |
release: | |
name: Releasing | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.8.1 # required by semantic-release | |
- run: npm i | |
- run: npm test | |
- name: Installing release dependencies | |
run: npm i -g semantic-release @semantic-release/changelog @semantic-release/git | |
- name: Semantic release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: semantic-release |