fix: remove self-closing tags #158
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: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: read | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Install dependendencies | |
run: pnpm i | |
- name: Build project | |
run: pnpm run build | |
- name: Run lint | |
run: pnpm run lint | |
- name: Run check | |
run: pnpm run check | |
release: | |
needs: verify | |
name: Release | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
issues: write | |
pull-requests: write | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Install dependendencies | |
run: pnpm i | |
- name: Build all packages | |
run: pnpm build | |
- name: Release | |
run: npm run publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |