fix(package): ensure correct pnpm version is specified #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-javascript: | |
| name: JavaScript Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup project | |
| uses: ./.github/actions/setup-project | |
| - name: Lint | |
| run: pnpm lint | |
| - name: TypeScript check | |
| run: pnpm typecheck | |
| - name: Prettier check | |
| run: pnpm format | |
| - name: Test | |
| id: npm-ci-test | |
| run: npm run ci-test | |
| test-action: | |
| name: GitHub Actions Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| id: checkout | |
| uses: actions/checkout@v4 | |
| - name: Test Local Action | |
| id: test-action | |
| uses: ./ | |
| with: | |
| milliseconds: 1000 | |
| - name: Print Output | |
| id: output | |
| run: echo "${{ steps.test-action.outputs.time }}" |