Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

chore(deps): update actions/setup-node action to v4 (#45) #514

chore(deps): update actions/setup-node action to v4 (#45)

chore(deps): update actions/setup-node action to v4 (#45) #514

Workflow file for this run

name: CI
'on':
push:
branches: [main, 'renovate/**']
pull_request:
types: [opened, synchronize]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Enable Corepack
run: corepack enable
- name: Setup Node.js
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
cache: 'pnpm'
node-version-file: '.node-version'
- run: pnpm install --frozen-lockfile --ignore-scripts
- run: pnpm test
build:
name: Build
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Enable Corepack
run: corepack enable
- name: Setup Node.js
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
cache: 'pnpm'
node-version-file: '.node-version'
- run: pnpm install --frozen-lockfile --ignore-scripts
- run: pnpm build
- run: pnpm build-storybook