Skip to content

Merge pull request #33 from IATI/breadcrumb #27

Merge pull request #33 from IATI/breadcrumb

Merge pull request #33 from IATI/breadcrumb #27

Workflow file for this run

name: Release
on:
push:
branches:
- "main"
jobs:
release:
name: Release
runs-on: ubuntu-latest
environment:
name: npm
url: https://www.npmjs.com/package/iati-design-system
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Build project
run: npm run build
- name: Build storybook
run: npm run build:storybook
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}