v0.34.8 - Refact stories and update Storybook #131
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
release: | |
types: [created] | |
jobs: | |
publish-npm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.15.0' | |
registry-url: 'https://registry.npmjs.org/' | |
- name: Install dependencies | |
run: yarn | |
- name: Build package | |
run: yarn build | |
- name: Run pre-publish | |
run: node pre-publish.js | |
- name: Publish package on npm | |
run: npm publish ./dist --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |