Empty Commit #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} | |
- 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 |