1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-01-08 04:03:58 +02:00

Update docs github actions to Node 17

This commit is contained in:
Joel Speed 2022-02-19 18:23:32 +00:00
parent 3ac51f5e2f
commit c232136196
No known key found for this signature in database
GPG Key ID: 6E80578D6751DEFB

View File

@ -16,9 +16,11 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: '12.x' node-version: '17.x'
- name: Test Build - name: Test Build
working-directory: ./docs working-directory: ./docs
env:
NODE_OPTIONS: --openssl-legacy-provider
run: | run: |
if [ -e yarn.lock ]; then if [ -e yarn.lock ]; then
yarn install --frozen-lockfile yarn install --frozen-lockfile
@ -35,10 +37,11 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: '12.x' node-version: '17.x'
- name: Add key to allow access to repository - name: Add key to allow access to repository
env: env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock SSH_AUTH_SOCK: /tmp/ssh_agent.sock
NODE_OPTIONS: --openssl-legacy-provider
run: | run: |
mkdir -p ~/.ssh mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts ssh-keyscan github.com >> ~/.ssh/known_hosts