Skip to content

Run lint and build workflow on pull requests #1

Run lint and build workflow on pull requests

Run lint and build workflow on pull requests #1

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-requests` is not a valid event name
on: [push, pull-requests]
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