build(deps): bump nanoid from 3.3.7 to 3.3.8 in the npm_and_yarn group #17
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
name: Internal - Main - Continuous Integration | |
on: | |
push: | |
branches: [main] | |
tags: ["*"] | |
permissions: | |
contents: read | |
packages: read | |
statuses: write | |
security-events: write | |
id-token: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
ci: | |
uses: ./.github/workflows/__shared-ci.yml | |
secrets: inherit | |
deploy: | |
if: github.ref == 'refs/heads/main' | |
name: Deploy website | |
needs: ci | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
with: | |
name: build | |
path: / | |
- name: 📦 Upload website build artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: public | |
- name: ⚙️ Setup Pages | |
uses: actions/configure-pages@v5 | |
- name: 🚀 Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 | |
- name: 🔭 Check the site is up | |
uses: srt32/[email protected] | |
with: | |
url-to-hit: ${{ steps.deployment.outputs.page_url }} | |
expected-statuses: "200" |