Skip to content

Merge pull request #27 from axieinfinity/feat/bump-version-katana-cor… #83

Merge pull request #27 from axieinfinity/feat/bump-version-katana-cor…

Merge pull request #27 from axieinfinity/feat/bump-version-katana-cor… #83

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
run-linters:
name: Run linters 2
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repo'
uses: 'actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11' #v3.1.0
- name: Set up node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- name: Github private package token in npmrc
run: |
echo "@axieinfinity:registry=https://npm.pkg.github.com/" >> .npmrc
echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_GITHUB_TOKEN }}" >> .npmrc
- name: Install dependencies
run: npm ci
- name: Run linters
uses: wearerequired/lint-action@v1
with:
github_token: ${{ secrets.github_token }}
prettier: true
auto_fix: false
prettier_extensions: 'css,html,js,json,jsx,md,sass,scss,ts,tsx,vue,yaml,yml,sol'