Skip to content

1.1.4 - Update flipper-ui and dependencies #171

1.1.4 - Update flipper-ui and dependencies

1.1.4 - Update flipper-ui and dependencies #171

Workflow file for this run

name: Publish package
on:
release:
types: [created]
jobs:
build:
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'
always-auth: true
- name: Install dependencies
run: yarn
- name: Run lint
run: yarn lint
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish new version to NPM
uses: actions/setup-node@v4
with:
node-version: '20.15.0'
registry-url: https://registry.npmjs.org/
always-auth: true
- 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}}