fix(project): update dependencies and document trustedDependencies #107
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: [main] | |
jobs: | |
build-test-release: | |
runs-on: macos-latest | |
permissions: | |
id-token: write # Required to mint token for npm package provenance | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v1 | |
- run: bun install | |
- run: bun run build | |
- name: 🧪 Test | |
run: bun run test | |
- uses: tobua/release-npm-action@v3 | |
with: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
test-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm install | |
- name: 🧪 Test | |
run: npm test |