Merge pull request #29 from LedgerHQ/dependabot-npm_and_yarn-eslint-p… #58
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 ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: "20" | |
- name: Install | |
run: yarn install | |
- name: Lint | |
run: yarn run lint:check | |
- name: Prettier | |
run: yarn run prettier:check |