Skip to content

feat: remove Button, Header, Page components and their associated sto… #3

feat: remove Button, Header, Page components and their associated sto…

feat: remove Button, Header, Page components and their associated sto… #3

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
if: github.repository == 'OpenFlyGroup/snowfall'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Type checking
run: npm run type-check
- name: Lint
run: npm run lint
- name: Run tests
run: npm run test
- name: Build
run: npm run build
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: npm run release
version: npm run version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}