Skip to content

Add news issue 261 #1166

Add news issue 261

Add news issue 261 #1166

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
run:
name: Run tests
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 Tests
working-directory: new_blog
run: yarn jest