Merge pull request #210 from oke-py/feature/add-workflow-step-names

Add step names to GitHub Actions workflow for better readability
This commit is contained in:
Naoki Oketani
2025-05-02 09:57:11 +09:00
committed by GitHub

View File

@@ -17,7 +17,8 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
- run: | - name: Install dependencies and run all scripts
run: |
npm ci npm ci
npm run all npm run all
- uses: coverallsapp/github-action@master - uses: coverallsapp/github-action@master
@@ -36,7 +37,8 @@ jobs:
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
# Node.js 20 already includes a recent npm version, so npm upgrade is not needed # Node.js 20 already includes a recent npm version, so npm upgrade is not needed
- run: | - name: Install dependencies and run all scripts
run: |
npm ci npm ci
npm run all npm run all
@@ -55,13 +57,15 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
- uses: ./ - name: Run npm audit action
uses: ./
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
issue_title: npm audit run by test job issue_title: npm audit run by test job
create_issues: false create_issues: false
production_flag: true production_flag: true
- uses: ./ - name: Run npm audit action in testdata workdir
uses: ./
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
working_directory: __tests__/testdata/workdir/ working_directory: __tests__/testdata/workdir/
@@ -83,13 +87,15 @@ jobs:
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
# Node.js 20 already includes a recent npm version, so npm upgrade is not needed # Node.js 20 already includes a recent npm version, so npm upgrade is not needed
- uses: ./ - name: Run npm audit action
uses: ./
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
issue_title: npm audit run by test job issue_title: npm audit run by test job
create_issues: false create_issues: false
production_flag: true production_flag: true
- uses: ./ - name: Run npm audit action in testdata workdir
uses: ./
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
working_directory: __tests__/testdata/workdir/ working_directory: __tests__/testdata/workdir/