feat!: Remove all uses of CJS, add named Flagsmith export (#163) #12
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: Publish NPM Package | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
package: | |
runs-on: ubuntu-latest | |
name: Publish NPM Package | |
steps: | |
- name: Cloning repo | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18.x' | |
registry-url: 'https://registry.npmjs.org' | |
- run: npm ci | |
- run: npm run deploy | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |