using higher defaults

هذا الالتزام موجود في:
Chris Ayers
2022-04-06 10:29:18 -07:00
ملتزم من قبل GitHub
الأصل 6b85b4eb3e
التزام a424b35838

عرض الملف

@@ -8,6 +8,11 @@ on:
branches: [ main ] branches: [ main ]
pull_request: pull_request:
branches: [ main ] branches: [ main ]
defaults:
run:
shell: bash
working-directory: ./node-example
jobs: jobs:
build-node: build-node:
@@ -25,12 +30,7 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'
- run: npm ci - run: npm ci
working-directory: ./node-example
- run: npm run build --if-present - run: npm run build --if-present
working-directory: ./node-example
- run: npm test - run: npm test
working-directory: ./node-example