Skip to content

Add news issue №249 #1139

Add news issue №249

Add news issue №249 #1139

Workflow file for this run

name: Eslint check
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
run:
name: Eslint check
runs-on: ubuntu-latest
steps:
- name: Download CSSSR actions
uses: actions/checkout@v2
with:
repository: CSSSR/actions
ssh-key: ${{ secrets.DOWNLOAD_ACTIONS_SSH_KEY }}
path: actions
- uses: actions/checkout@v2
with:
path: new_blog
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v2-beta
with:
registry-url: 'https://npm.pkg.github.com'
scope: '@csssr'
- name: Install dependencies
working-directory: new_blog
run: yarn --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_GITHUB_REGISTRY_TOKEN }}
- name: Run Eslint
working-directory: new_blog
run: yarn lint:js