chore(deps): update dependency semantic-release to v24.2.0 (#130) #511
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: ci | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-24.04 | |
name: Build and test | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node 20+ | |
# https://github.com/actions/setup-node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Stop exclusive tests | |
run: npm run stop-only | |
- name: Run tests | |
run: npm test | |
- name: Run bin file | |
run: npm run demo | |
- name: Run print tests script | |
run: npm run demo-print | |
- name: Run update Markdown file | |
run: npm run demo-update-md | |
- name: Semantic Release 🚀 | |
if: github.ref == 'refs/heads/main' | |
uses: cycjimmy/semantic-release-action@v4 | |
with: | |
branch: main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |