chore(deps): bump actions/setup-node from 4 to 6 #4
Workflow file for this run
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: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20" | |
| cache: npm | |
| - name: Install dependencies | |
| run: | | |
| if [[ -f package-lock.json ]]; then | |
| npm ci | |
| else | |
| npm install --package-lock-only --ignore-scripts | |
| npm ci | |
| fi | |
| - name: Validate structure | |
| run: npm run check | |
| - name: npm pack dry run | |
| run: npm pack --dry-run |