Skip to content

chore(deps): update nwtgck/actions-netlify digest to 4cbaf4c #65

chore(deps): update nwtgck/actions-netlify digest to 4cbaf4c

chore(deps): update nwtgck/actions-netlify digest to 4cbaf4c #65

Workflow file for this run

name: Build pull request
on:
pull_request:
types: ["opened", "synchronize"]
jobs:
build-pull-request:
name: "Build pull request"
runs-on: ubuntu-latest
env:
PR_NUMBER: ${{github.event.number}}
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup node
uses: actions/[email protected]
with:
node-version: 20.12.2
cache: "npm"
- name: Install dependencies
run: npm ci
- run: npm run lint
- run: npm run typecheck
- name: Build storybook
run: npm run build-storybook
- name: Upload artifact
uses: actions/[email protected]
with:
name: preview
path: storybook-static
retention-days: 1
- name: Save pr number
run: echo ${PR_NUMBER} > ./pr.txt
- name: Upload pr number
uses: actions/[email protected]
with:
name: pr
path: ./pr.txt
retention-days: 1