Skip to content

v0.35.1 - Move date-fns to devDependencies #134

v0.35.1 - Move date-fns to devDependencies

v0.35.1 - Move date-fns to devDependencies #134

Workflow file for this run

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