Skip to content

Update actions to versions running on Node20 #700

Update actions to versions running on Node20

Update actions to versions running on Node20 #700

Workflow file for this run

name: Run linters
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
lint-js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "14.x"
cache: "npm"
- name: Install dependencies
run: npm install
- name: Run JS linter
run: npm run lint:js
lint-sol:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "14.x"
cache: "npm"
- name: Install dependencies
run: npm install
- name: Run Solidity linter
run: npm run lint:sol