bun-discord-bot/.github/workflows/validate.yml

29 lines
613 B
YAML
Raw Normal View History

name: Validate Tags
2022-07-16 14:24:19 +02:00
on:
pull_request_target:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Bun
uses: xhyrom/setup-bun@v0.1.3
with:
bun-version: latest
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Get changed files
uses: Mineflash07/gh-action-get-changed-files@feature/support-pr-target-event
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Add json
run: cp $HOME/files.json ./scripts/validateTags/
- name: Validate tags
run: bun run validate