Skip to content

ci: 🎡 Run upload-artifact on push #5

ci: 🎡 Run upload-artifact on push

ci: 🎡 Run upload-artifact on push #5

Workflow file for this run

name: Build
"on":
push:
branches:
- main
paths-ignore:
- "assets/**"
- "README.md"
pull_request:
paths-ignore:
- "assets/**"
- "README.md"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
- name: Install packages
run: npm ci
- name: Build
run: npm run build
- name: Upload artifact if the event is push
if: github.event_name == "push"

Check failure on line 28 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 28, Col: 13): Unexpected symbol: '"push"'. Located at position 22 within expression: github.event_name == "push"
uses: actions/upload-artifact@v4
with:
name: dist
path: dist