Add support for ApeChain #483
Workflow file for this run
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: ci | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
jobs: | |
unit_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js '18.x' | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "18.x" | |
- name: Install dependencies | |
run: npm ci | |
- name: Install Cosign Server dependencies | |
run: cd cosign-server && npm ci | |
- name: Build magicdrop-types | |
run: cd magicdrop-types && npm ci && npm run build | |
- name: Build magicdrop | |
run: npm run build | |
- name: Run lint | |
run: npm run lint | |
- name: Run Coverage and Upload to CodeCov | |
run: | | |
npm run coverage; \ | |
curl -Os https://uploader.codecov.io/latest/linux/codecov; \ | |
chmod +x codecov; \ | |
./codecov; | |
slither: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: crytic/slither-action@35510b34cfdfb137d9816d27378ee8c217f1fa1c | |
with: | |
fail-on: low | |
slither-version: d8e526e53ff690bd24c260042117efab5ce9c271 | |
slither-args: "--exclude-dependencies" |