chore(deps): Bump docker/build-push-action from f2a1d5e99d037542a71f64918e516c093c6f3fc4 to 9f6f8c940b91232557f8699b21341a08624a8dce #27
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
# Find full documentation here https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions | |
name: CI | |
on: | |
pull_request: | |
# Manual invocation. | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
# Ensure we only ever have one build running at a time. | |
# If we push twice in quick succession, the first build will be stopped once the second starts. | |
# This avoids any race conditions. | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm test | |
- name: Build | |
run: npm run build |