Skip to content

Merge pull request #27 from IATI/inline-icons #24

Merge pull request #27 from IATI/inline-icons

Merge pull request #27 from IATI/inline-icons #24

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 }}