Skip to content

build(deps): bump actions/setup-node from 6 to 7 #390

build(deps): bump actions/setup-node from 6 to 7

build(deps): bump actions/setup-node from 6 to 7 #390

Workflow file for this run

name: Build and deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment. Cancel previous when
# a new change comes in.
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v7
- name: Set up Node
uses: actions/setup-node@v7
with:
node-version: 24
cache: yarn
- name: Set up GitHub Pages
uses: actions/configure-pages@v6
- name: Install dependencies
run: yarn install
- name: Lint source code
run: yarn lint
- name: Build project
run: yarn build
- name: Upload build output as artifact
uses: actions/upload-pages-artifact@v5
if: github.ref_name == 'main'
with:
path: dist/
deploy:
if: github.ref_name == 'main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5