Skip to content

Commit

Permalink
ci: pwsh -> powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Nov 6, 2023
1 parent 4e7664c commit c867165
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ jobs:
strategy:
matrix:
node: [20.9.0, 21.x]
os: [ubuntu-latest, windows-latest, macos-latest]
sys:
- { os: ubuntu-latest, shell: bash }
- { os: macos-latest, shell: bash }
- { os: windows-latest, shell: powershell }

runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}/Node.js ${{ matrix.node }}
runs-on: ${{ matrix.sys.os }}
name: ${{ matrix.sys.os }}/Node.js ${{ matrix.node }}

defaults:
run:
shell: ${{ matrix.sys.shell }}

steps:
- uses: actions/checkout@v3
Expand All @@ -26,7 +33,7 @@ jobs:

- run: npm ci

- if: startsWith( matrix.os, 'ubuntu' )
- if: startsWith( matrix.sys.os, 'ubuntu' )
name: 포매팅
run: npx prettier --check .

Expand Down

0 comments on commit c867165

Please sign in to comment.