Skip to content

Merge pull request #3 from hexojs/release/v1.0.0 #20

Merge pull request #3 from hexojs/release/v1.0.0

Merge pull request #3 from hexojs/release/v1.0.0 #20

Workflow file for this run

name: Linter
on: [push, pull_request]
jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 14.x
uses: actions/setup-node@v3
with:
node-version: '14.x'
- name: Cache NPM dependencies
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.OS }}-npm-cache
restore-keys: |
${{ runner.OS }}-npm-cache
- name: Install Dependencies
run: npm install
- name: Lint
run: |
npm run eslint
env:
CI: true