Skip to content

Commit

Permalink
Adding
Browse files Browse the repository at this point in the history
Adding PR Test Support
  • Loading branch information
NickJLange committed May 12, 2024
1 parent 5fb0daf commit 308e9ef
Show file tree
Hide file tree
Showing 5 changed files with 9,145 additions and 9 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/render-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,20 @@ concurrency:
jobs:
test-case:
name: test-job
environment:
name: NODE_VERSION
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '19.x'
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install
run: yarn install --frozen-lockfile
- name: Build website
run: yarn build
- name: Upload Build Artifact
- name: upload
uses: actions/upload-pages-artifact@v3
with:
path: build
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
*.lock
package-lock.json
1 change: 1 addition & 0 deletions 5l-labs.com
4 changes: 2 additions & 2 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ services:
buildCommand: npx docusaurus build
staticPublishPath: ./build
pullRequestPreviewsEnabled: true # optional
branch: initial_commit
branch: main
envVarGroups:
- name: node_version
envVars:
- key: NODE_VERSION
value: 16.16.0
value: 18
Loading

0 comments on commit 308e9ef

Please sign in to comment.