Skip to content

chore(deps): update actions/checkout digest to d23441a #2983

chore(deps): update actions/checkout digest to d23441a

chore(deps): update actions/checkout digest to d23441a #2983

Workflow file for this run

name: build-scratch-blocks
on:
push: # Runs whenever a commit is pushed to the repository
pull_request: # Runs on pull requests (including from forks)
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- name: Setup Node
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
with:
node-version-file: '.nvmrc'
- name: Install Node Dependencies
run: npm ci
- name: Run lint
run: npm run test:lint
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- name: Setup Node
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
with:
node-version-file: '.nvmrc'
- name: Install Node Dependencies
run: npm ci
- name: Build
run: npm run build
- name: Install Playwright browsers
run: npx playwright install chromium --with-deps
- name: Run tests
run: npm test
- name: Run semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx --no -- semantic-release