mirror of
https://github.com/tiennm99/store-scraper-bot.git
synced 2026-10-11 03:13:50 +00:00
Replace pnpm-lock.yaml with package-lock.json. Both overrides move to package.json#overrides, including the request -> @cypress/request alias. allowBuilds for es5-ext becomes package.json#allowScripts. The deploy script chained "pnpm register", which would have failed once pnpm was gone; it now calls npm run register.
26 lines
495 B
YAML
26 lines
495 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
verify:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- uses: actions/setup-node@v7
|
|
with:
|
|
node-version: '24'
|
|
cache: 'npm'
|
|
|
|
- run: npm ci --ignore-scripts
|
|
|
|
- run: npm run lint
|
|
|
|
# Update find roots when adding new top-level JS dirs.
|
|
- name: Syntax check all JS
|
|
run: find api scripts src -name '*.js' -print0 | xargs -0 -n1 node --check
|