Skip to content

Bump esbuild from 0.20.2 to 0.25.0 #11

Bump esbuild from 0.20.2 to 0.25.0

Bump esbuild from 0.20.2 to 0.25.0 #11

name: Prevent npm lockfiles
on:
pull_request:
push:
branches:
- master
jobs:
guard:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Fail if npm lockfiles exist
run: |
set -e
disallowed_files=$(find . -type f \( -name "package-lock.json" -o -name "npm-shrinkwrap.json" \) -not -path "./node_modules/*")
if [ -n "$disallowed_files" ]; then
echo "Disallowed npm lockfile(s) found. This repository uses Yarn only:"
echo "$disallowed_files"
exit 1
fi