Skip to content

feat(core): add aglaMerkl #294

feat(core): add aglaMerkl

feat(core): add aglaMerkl #294

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: "14"
- name: Install dependencies
shell: bash
run: |
echo "//npm.pkg.github.com/:_authToken=${{secrets.GH_REGISTRY_ACCESS_TOKEN}}" >> .npmrc
yarn install && yarn cache clean
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"