Skip to content

refactor: lint

refactor: lint #15

Workflow file for this run

name: npm run build

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

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

`pull` is not a valid event name
on: [pull]
jobs:
build:
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME: ${{ vars.NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME }}
CLOUDINARY_API_KEY: ${{ secrets.CLOUDINARY_API_KEY }}
CLOUDINARY_API_SECRET: ${{ secrets.CLOUDINARY_API_SECRET }}
CLOUDINARY_FOLDER: ${{ secrets.CLOUDINARY_FOLDER }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.17.1
npm-version: 9.6.7
- run: npm install
- run: npm run lint
- run: npm run build