Skip to content

Update actions/checkout action to v4 #34

Update actions/checkout action to v4

Update actions/checkout action to v4 #34

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
ci:
name: CI
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: make node_modules
- name: Build
run: make release
- name: Publish dist artifact
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v3
with:
name: branding
path: artifacts/dist
- name: Publish website
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: artifacts/dist