build(deps): bump nanoid from 3.3.7 to 3.3.8 #19
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
name: Continuous Integration | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Lint | |
run: pnpm run lint | |
test-action: | |
name: GitHub Actions Test | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: Create testing app | |
run: pnpx nuxi init testing-app -t hub --package-manager pnpm --git-init false | |
- name: Build site | |
run: NITRO_PRESET=cloudflare_pages pnpm run build | |
working-directory: ./testing-app | |
- name: Test local action | |
id: test-action | |
uses: ./ | |
with: | |
hub-url: ${{ secrets.HUB_URL }} | |
directory: testing-app/dist | |
- name: Print output | |
id: output | |
run: echo "${{ steps.test-action.outputs.deployment-url }} - ${{ steps.test-action.outputs.environment }}" |