chore(deps): update dependency oxlint to v1.82.0 (#1056) #782
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: | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }} | |
| environment: | |
| name: github-pages | |
| permissions: | |
| contents: write | |
| pages: write | |
| id-token: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }} | |
| - name: Use Node.js | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24 | |
| - name: Set git identity | |
| run: | | |
| git config user.name 'GitHub Actions' | |
| git config user.email 'github-actions[bot]@users.noreply.github.com' | |
| - name: Install pnpm and dependencies | |
| uses: apify/actions/pnpm-install@v1.5.0 | |
| - name: Update docs theme | |
| run: pnpm --filter apify-client-website update @apify/docs-theme | |
| # We do this as early as possible to prevent conflicts if someone else would push something in the meantime | |
| - name: Commit the updated package.json and lockfile | |
| uses: apify/actions/signed-commit@v1.5.0 | |
| with: | |
| message: 'chore: Automatic theme updating workflow [skip ci]' | |
| add: 'website/package.json pnpm-lock.yaml' | |
| github-token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }} | |
| - name: Build Docusaurus docs | |
| run: pnpm build | |
| working-directory: ./website | |
| env: | |
| SMARTLOOK_PROJECT_KEY: ${{ secrets.SMARTLOOK_DOCS_PROJECT_KEY }} | |
| SEGMENT_TOKEN: ${{ secrets.SEGMENT_TOKEN }} | |
| - name: Set up GitHub Pages | |
| uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0 | |
| - name: Upload GitHub Pages artifact | |
| uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 | |
| with: | |
| path: ./website/build | |
| - name: Deploy artifact to GitHub Pages | |
| uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1 | |
| - name: Invalidate CloudFront cache | |
| run: | | |
| gh workflow run invalidate-cloudfront.yml \ | |
| --repo apify/apify-docs-private \ | |
| --field deployment=apify-docs | |
| echo "✅ CloudFront cache invalidation workflow triggered successfully" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }} |