Periodic validation #686
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
on: | |
schedule: | |
- cron: '34 11 * * 0' | |
name: Periodic validation | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: typescript | |
# If you wish to specify custom queries, you can do so here or in a config file. | |
# By default, queries listed here will override any specified in a config file. | |
# Prefix the list here with "+" to use these queries and those in the config file. | |
# queries: ./path/to/local/query, your-org/your-repo/queries@main | |
- name: clean | |
run: make clean | |
- name: install | |
run: yarn install --frozen-lockfile | |
- name: lint | |
run: yarn lint:check | |
- name: build & test | |
run: make ci | |
- name: print diff if failed | |
if: ${{ failure() }} | |
run: cp dist/temp/eth-connect.api.md report/eth-connect.api.md && git diff | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |