Skip to content

build(deps-dev): bump @adobe/css-tools from 4.3.1 to 4.3.3 (#275) #151

build(deps-dev): bump @adobe/css-tools from 4.3.1 to 4.3.3 (#275)

build(deps-dev): bump @adobe/css-tools from 4.3.1 to 4.3.3 (#275) #151

Workflow file for this run

name: Build and Deploy for Github Pages
on:
workflow_dispatch:
push:
paths:
- "src/**"
- "public/**"
- ".github/workflows/**"
- "package.json"
- "vite.config.ts"
- "astro.config.mjs"
- "yarn.lock"
branches:
- develop
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: ⎔ Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: 📥 Download deps
run: |
bun install
- name: 🧪 Test
run: |
bun lint
echo "### Test Coverage 🧪 " >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
bun run test --silent --coverage >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
- name: ⚙️ Build
run: bun run build
- name: ⚙️ Setup Pages
if: success()
uses: actions/configure-pages@v4
- name: 📁 Upload artifact
if: success()
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: "./dist"
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4