Skip to content

ci: use clean install rather than lock #5

ci: use clean install rather than lock

ci: use clean install rather than lock #5

Workflow file for this run

# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ['main']
paths:
- '2025/**'
- '.github/workflows/main.yml'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Node
uses: actions/setup-node@v5
with:
node-version: lts/*
cache: 'npm'
- name: Install dependencies
run: |
cd 2025
rm -rf node_modules package-lock.json
npm i
- name: Build
run: cd 2025 && npm run build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
# Upload dist folder
path: '2025/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4