Skip to content

ignore lock files

ignore lock files #37

name: containers-pull

Check failure on line 1 in .github/workflows/containers-pull.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/containers-pull.yaml

Invalid workflow file

you may only define one of `paths` and `paths-ignore` for a single event
on:
pull_request:
paths:
- containers/**
paths-ignore:
- containers/package-lock.json
jobs:
build-containers:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: containers
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: containers
- name: Test
run: wing test
working-directory: containers
- name: Pack
run: wing pack
working-directory: containers