Skip to content

v2.1.1

v2.1.1 #7

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
deploy:
name: Deploy to package index
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Setup .npmrc
run: |
cat <<- 'EOF' > .npmrc
@factset:registry=https://${{ secrets.NPM_PUBLISH_URL }}
//${{ secrets.NPM_PUBLISH_URL }}:_authToken=${{ secrets.NPM_AUTH_TOKEN }}
always-auth = true
EOF
- name: Install dependencies
run: |
yarn install
- name: Publish
run: |
yarn publish --access public