chore(deps-dev): bump typescript from 5.3.2 to 5.3.3 #4
Workflow file for this run
This file contains 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: Pre-merge | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node LTS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install dependencies | |
run: corepack enable && pnpm install --frozen-lockfile | |
- name: Build package | |
run: pnpm run build | |
test: | |
name: Test Suite | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [lts/*, lts/-1, current] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: corepack enable && pnpm install --frozen-lockfile | |
- name: Run test suite | |
run: pnpm run test | |
# Create changesets (if necessary) and auto-merge pull requests from dependabot. | |
dependabot: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.user.login == 'dependabot[bot]' | |
needs: [build, test] | |
steps: | |
- uses: mscharley/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- run: gh pr merge --auto --squash "${PR_URL}" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |