[FEAT] Configure Data Indexer for LST on Tangle #5
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: lint 🧹 | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: ['main', 'feat/**', 'feature/**'] | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['>=18'] | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- name: lint | |
run: | | |
yarn install | |
yarn run format-check | |
yarn run lint |