fix(TodoLists): checking the entire list as done will check all items #63
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: Web App | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
install: | |
name: Install | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/[email protected] | |
with: | |
bun-version: latest | |
- name: Install Packages | |
run: bun install --frozen-lockfile | |
# lint: | |
# name: Lint | |
# runs-on: ubuntu-latest | |
# needs: [install] | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: oven-sh/[email protected] | |
# with: | |
# bun-version: latest | |
# - name: Install Packages | |
# run: bun install --frozen-lockfile | |
# - name: Lint | |
# run: bun lint | |
# test: | |
# name: Test | |
# runs-on: ubuntu-latest | |
# needs: [install] | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: oven-sh/[email protected] | |
# with: | |
# bun-version: latest | |
# - name: Install Packages | |
# run: bun install --frozen-lockfile | |
# - name: Coverage | |
# run: bun test --coverage | |
# # TODO: Enable once LCOV is supported | |
# # https://github.com/oven-sh/bun/issues/4015 | |
# # - name: Coveralls | |
# # uses: coverallsapp/github-action@master | |
# # with: | |
# # github-token: ${{ secrets.GITHUB_TOKEN }} | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
needs: [install] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/[email protected] | |
with: | |
bun-version: latest | |
- name: Install Packages | |
run: bun install --frozen-lockfile | |
- name: Build | |
run: bun run build | |
- name: Upload Pages artifact | |
uses: actions/[email protected] | |
with: | |
path: dist | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
needs: [build] | |
# needs: [lint, test, build] | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
permissions: | |
pages: write # to deploy to Pages | |
id-token: write # to verify the deployment originates from an appropriate source | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/[email protected] |