Skip to content

fix some issues (#2) #5

fix some issues (#2)

fix some issues (#2) #5

Workflow file for this run

name: Adder of Time - CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: oven-sh/setup-bun@v1
- run: task ci
- run: task check
- run: task test
- run: task build
- uses: actions/upload-pages-artifact@v3
with:
path: dist
retention-days: 3
deploy:
name: Deploy
needs: [build]
if: github.event_name != 'pull_request'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: deployment
uses: actions/deploy-pages@v4