Add news issue 262 #1168
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |