feat: release new format rule based on sql-formatter #37
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: | |
test: | |
environment: release | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: setup repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: setup node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '23' | |
- run: npm install | |
- run: npm run lint:eslint | |
- run: npm run lint:tsc | |
- run: npm run lint:cspell | |
- run: npm run test:mocha | |
- run: npm run build | |
- env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npx semantic-release | |
name: Test, build and release | |
on: | |
push: | |
branches: | |
- main |