update release workflow #15
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: Run Checks on PR | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛑 Cancel Previous Runs | |
uses: styfle/[email protected] | |
- name: ⬇️ Checkout Repo | |
uses: actions/checkout@v3 | |
- name: ⎔ Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
registry-url: https://registry.npmjs.org/ | |
scope: '@leapwallet' | |
- name: 📥 Install Dependencies | |
run: yarn install | |
- name: 📝 Lint | |
run: yarn lint | |
- name: 🧪 Test | |
run: yarn test | |
- name: 📈 Coverage | |
run: yarn coverage --run |