Skip to content

Merge pull request #616 from bervProject/dependabot/github_actions/Ja… #1351

Merge pull request #616 from bervProject/dependabot/github_actions/Ja…

Merge pull request #616 from bervProject/dependabot/github_actions/Ja… #1351

Workflow file for this run

name: Node CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-24.04
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: install
run: yarn --frozen-lockfile
- name: Build
run: |
yarn build
cp CNAME build/CNAME
env:
CI: true
- name: Deploy 🚀
if: ${{ github.event_name == 'push' && matrix.node-version == '20.x'}}
uses: JamesIves/github-pages-deploy-action@v4.7.4
with:
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: build # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch