Skip to content

fix: only build workflows add node #5

fix: only build workflows add node

fix: only build workflows add node #5

Workflow file for this run

name: Only Build
branding:

Check failure on line 2 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Only Build

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 2, Col: 1): Unexpected value 'branding'
icon: "arrow-up-right"
color: "purple"
on:
# Trigger the workflow every time you push to the `main` branch
# Using a different branch name? Replace `main` with your branch’s name
push:
branches: [master]
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:
# Allow this job to clone the repo and create a page deployment
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: "latest"
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"
cache-dependency-path: "pnpm-lock.yaml"
- name: Install
shell: "bash"
working-directory: "."
run: pnpm install
- name: Build
shell: "bash"
working-directory: "."
run: pnpm run build