Skip to content

Commit

Permalink
build both artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs committed Feb 1, 2024
1 parent d601d53 commit 9e10928
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test-cloud.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
on:
push:
branches:
- DOP-4247-build-artifacts
name: Test Lighthouse Score
jobs:
deploy:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Access Build Data
uses: mongodb/docs-worker-actions/build-artifact@DOP-4247-build-artifact
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PROJECT_TO_BUILD: cloud-docs
- name: Build Snooty
env:
NPM_BASE_64_AUTH: ${{ secrets.NPM_BASE_64_AUTH }}
NPM_EMAIL: ${{ secrets.NPM_EMAIL }}
GATSBY_MANIFEST_PATH: snooty-metadata.json
run: |
npm ci --legacy-peer-deps
npm run build
- name: Save Artifact
uses: actions/upload-artifact@v4
with:
name: lighthouse-build
path: |
public

0 comments on commit 9e10928

Please sign in to comment.