fix: avoid inserting name
for eslintrc configs; fixes #1239
#162
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
jobs: | |
release: | |
runs-on: ubuntu-latest | |
environment: release | |
name: Release | |
steps: | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- name: setup repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: setup node.js | |
uses: actions/setup-node@v3 | |
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 |