build(deps-dev): bump @types/node from 24.0.14 to 25.8.0 in /serverless #268
Workflow file for this run
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: main | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| banches: | |
| - main | |
| jobs: | |
| serverless: | |
| runs-on: ubuntu-latest | |
| env: | |
| CI: true | |
| defaults: | |
| run: | |
| working-directory: serverless | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v5 | |
| - name: Setup NodeJS | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Run tests | |
| run: yarn test | |
| standalone: | |
| runs-on: ubuntu-latest | |
| env: | |
| CI: true | |
| defaults: | |
| run: | |
| working-directory: standalone | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup NodeJS | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24.x | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run tests | |
| run: npm test | |
| - name: Set up QEMU | |
| if: ${{ github.actor != 'dependabot[bot]' && | |
| github.event_name == 'push' }} | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Set up Docker Buildx | |
| if: ${{ github.actor != 'dependabot[bot]' && | |
| github.event_name == 'push' }} | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to DockerHub | |
| if: ${{ github.actor != 'dependabot[bot]' && | |
| github.event_name == 'push' }} | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Build and push Docker image | |
| if: ${{ github.actor != 'dependabot[bot]' && | |
| github.event_name == 'push' }} | |
| uses: docker/build-push-action@v6 | |
| with: | |
| platforms: linux/amd64,linux/arm64 | |
| context: ./standalone/ | |
| file: ./standalone/Dockerfile | |
| push: true | |
| tags: robvanderleek/capture-website-api:latest |