Skip to content

Bump braces from 3.0.2 to 3.0.3 in the npm_and_yarn group across 1 directory #19

Bump braces from 3.0.2 to 3.0.3 in the npm_and_yarn group across 1 directory

Bump braces from 3.0.2 to 3.0.3 in the npm_and_yarn group across 1 directory #19

Workflow file for this run

name: Test
on:
pull_request:
branches: [trunk]
jobs:
changed-files:
runs-on: ubuntu-latest
outputs:
status: ${{ steps.changed-files.outputs.any_changed }}
steps:
- name: Checkout
uses: actions/checkout@v4
- id: changed-files
uses: tj-actions/changed-files@v41
with:
files: |
.github/workflows/test.yml
src/*
test/*
cli.js
package.json
package-lock.json
test:
runs-on: ubuntu-latest
needs: changed-files
if: ${{ needs.changed-files.outputs.status == 'true' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Node
uses: actions/cache@v4
with:
path: |
node_modules
~/.cache
~/.npm
key: ${{ runner.os }}-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
run: npm ci
- name: Test
run: npm test