Skip to content

chore(deps): replace aslafy-z/conventional-pr-title-action with amannn/action-semantic-pull-request #62

chore(deps): replace aslafy-z/conventional-pr-title-action with amannn/action-semantic-pull-request

chore(deps): replace aslafy-z/conventional-pr-title-action with amannn/action-semantic-pull-request #62

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: 18.12.1
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