using higher defaults
هذا الالتزام موجود في:
12
.github/workflows/node.js.yml
مباع
12
.github/workflows/node.js.yml
مباع
@@ -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
|
|
||||||
|
المرجع في مشكلة جديدة
حظر مستخدم