Skip to content

feat(core): add aglaMerkl #297

feat(core): add aglaMerkl

feat(core): add aglaMerkl #297

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=$GH_REGISTRY_ACCESS_TOKEN" >> .npmrc && yarn install --frozen-lockfile --verbose && rm -f .npmrc
env:
GH_REGISTRY_ACCESS_TOKEN: ${{ secrets.GH_REGISTRY_ACCESS_TOKEN }}
- 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"