Update CI-pipeline for bun 1.0 #68
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: Bun CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
bun-version: ["1.x"] | |
timezone: ["America/New_York", "Europe/Berlin"] | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
- name: Use Bun Version ${{ matrix.bun-version }} | |
uses: antongolub/[email protected] | |
with: | |
bun-version: ${{ matrix.bun-version }} | |
bun-repo: 'oven-sh/bun' | |
- uses: szenius/[email protected] | |
with: | |
timezoneLinux: ${{ matrix.timezone }} | |
- name: Install Dependencies | |
run: bun install | |
- name: Test Bun Module | |
run: bun run test:bun |