Documentation: Use checkout-v2, remove setup-node

This commit is contained in:
Marc Rousavy 2021-03-09 14:16:21 +01:00
parent 630f47da92
commit 47276997e3

View File

@ -25,12 +25,10 @@ on:
jobs:
checks:
if: github.event_name != 'push'
name: Build Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- uses: actions/checkout@v2
- name: Get yarn cache directory path
id: yarn-cache-dir-path
@ -51,9 +49,10 @@ jobs:
yarn build
gh-release:
if: github.event_name != 'pull_request'
name: Deploy Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Add key to allow access to repository
env: