Merge pull request #1361 from brettz9/text-escaping-example #230
This file contains hidden or 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
jobs: | |
release: | |
runs-on: ubuntu-latest | |
environment: release | |
name: Release | |
steps: | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- name: setup repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: setup node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- run: pnpm install | |
- run: pnpm build | |
- run: npx semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
name: Build and release | |
on: | |
push: | |
branches: | |
- main |