Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Write sustainability report for February #358

Write sustainability report for February

Write sustainability report for February #358

Workflow file for this run

name: Website
on:
push:
branches:
- main
pull_request: {}
concurrency:
group: website-${{ github.head_ref }}
cancel-in-progress: true
env:
NODE_VERSION: "20.3.1"
PNPM_VERSION: "8.11.0"
jobs:
build:
runs-on: ubuntu-latest
name: Build
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: ${{ env.PNPM_VERSION }}
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build