Skip to content

chore(deps): bump the dependencies group across 1 directory with 2 updates #18

chore(deps): bump the dependencies group across 1 directory with 2 updates

chore(deps): bump the dependencies group across 1 directory with 2 updates #18

Workflow file for this run

name: Check
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
type-check:
name: type-check
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Type check
run: pnpm type-check
lint:
name: lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
check-if-dist-updated:
name: Check if dist updated
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Check for changes in dist/index.js
id: check_changes
run: |
if git diff --quiet dist/index.js; then
echo "No changes in dist/index.js"
else
echo "Changes detected in dist/index.js"
exit 1
fi