Skip to content

revert: remove sync-template https://github.com/ubiquity/ts-template/issues/54#issuecomment-2428842723 #21

revert: remove sync-template https://github.com/ubiquity/ts-template/issues/54#issuecomment-2428842723

revert: remove sync-template https://github.com/ubiquity/ts-template/issues/54#issuecomment-2428842723 #21

Workflow file for this run

name: Knip
on:
pull_request:
jobs:
run-knip:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.10.0
- name: Install toolchain
run: yarn install
- name: Store PR number
run: echo ${{ github.event.number }} > pr-number.txt
- name: Run Knip
run: yarn knip || yarn -s knip --reporter json > knip-results.json
- name: Upload knip result
if: failure()
uses: actions/upload-artifact@v4
with:
name: knip-results
path: |
knip-results.json
pr-number.txt