Skip to content

chore(deps): pin dependencies #3

chore(deps): pin dependencies

chore(deps): pin dependencies #3

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
- 'renovate/**'
paths-ignore:
- '**.md'
- .gitignore
- 'assets/**'
- '.github/**'
- '!.github/workflows/deploy.yml'
workflow_dispatch:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Setup pnpm
uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 18
cache: pnpm
- name: Configure GitHub Pages
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
with:
static_site_generator: sveltekit
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
path: dist
- name: Deploy GitHub Pages site
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
if: github.event_name == 'push' && github.ref == 'refs/heads/main'