Skip to content

update SFL

update SFL #760

name: Check format token list
on:
pull_request:
push:
branches:
- main
defaults:
run:
shell: bash
jobs:
check-token-list:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "18"
- name: Install dependencies
shell: bash
run: |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GH_REGISTRY_ACCESS_TOKEN }}" >> ~/.npmrc
yarn install --frozen-lockfile
rm -f ~/.npmrc
- name: Validate JSON file
run: yarn validate
- name: Discord notification (failure)
if: failure()
uses: Ilshidur/action-discord@master
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
with:
args: "Error token list format"