Update docs github actions to Node 17
This commit is contained in:
		
							parent
							
								
									3ac51f5e2f
								
							
						
					
					
						commit
						c232136196
					
				|  | @ -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 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue