feat(package): migrate to Bun, TypeScript, Playwright and dart-sass #7
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: push | |
on: | |
push: | |
branches: [main] | |
jobs: | |
push: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v1 | |
- run: bun install | |
- run: bunx playwright install chromium --with-deps | |
- name: 🚧 Build | |
run: bun run build | |
- name: 🧪 Test | |
run: bun run test | |
- name: 📢 Release | |
uses: tobua/release-npm-action@v3 | |
with: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |