chore(deps): update safer dependencies #107
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: Test and lint | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [main, ian/ai-v5] | |
pull_request: | |
branches: ["**"] | |
jobs: | |
check: | |
name: Test and lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4 | |
- name: Node setup | |
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
with: | |
node-version: "18.20.8" | |
- name: Install dependencies | |
run: | | |
npm i | |
npm run build | |
cd example && npm i | |
- name: pkg-pr-new | |
run: npx pkg-pr-new publish . | |
- name: Test | |
run: | | |
npm run test | |
npm run typecheck | |
npm run lint | |
cd example | |
npm run lint |