feat: sDAI (#287) #791
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |