Skip to content

Fix workflow typo

Fix workflow typo #2

name: CI

Check failure on line 1 in .github/workflows/lint-and-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint-and-build.yml

Invalid workflow file

`pull-request` is not a valid event name
on: [push, pull-request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install modules
run: yarn
- name: Run ESLint
run: yarn lint
- name: Test build
run: yarn build