chore(deps): update babel monorepo to v7.29.7 (#1947) #659
This file contains hidden or 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
| name: Docs | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy_storybook: | |
| name: Deploy docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22.15.0" | |
| registry-url: https://registry.npmjs.org | |
| cache: "npm" | |
| - name: Install Dependencies | |
| run: npm ci --no-optional | |
| - name: Build docs | |
| run: | | |
| npm run build | |
| pushd website | |
| npm install | |
| npm run build | |
| popd | |
| - name: Upload to S3 | |
| run: | | |
| npx s3-deploy './website/build/**' \ | |
| --region us-east-1 \ | |
| --bucket cn-static-sites \ | |
| --filePrefix "atjson.condenast.io" \ | |
| --cwd "./website/build" | |
| env: | |
| AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} | |
| AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} |