fix: added .nvmrc #183
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: Github Actions | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
- name: Install node dependancies | |
run: npm ci | |
- name: Check Snyk | |
continue-on-error: true | |
uses: snyk/actions/node@master | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
- name: Check Prettier | |
run: npx prettier --check . | |
- name: Lint | |
run: npm run lint | |
- name: Integration test | |
run: npm run test:ci | |
env: | |
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }} |