feat(packages/sui-segment-wrapper): add ga4 client id to segment events #23
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: Labeled Pull Requests | |
on: | |
pull_request: | |
types: [labeled] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
jobs: | |
publish-tagged-packages: | |
name: Publish Tagged Packages to NPM | |
if: github.ref != 'refs/heads/master' && contains(github.event.pull_request.labels.*.name, 'feature') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
registry-url: 'https://registry.npmjs.org' | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install | |
run: | | |
npm ci | |
npx -y ultra-runner --raw --recursive prepublishOnly | |
- name: Get Files | |
id: files | |
uses: jitterbit/get-changed-files@v1 | |
with: | |
format: 'json' | |
- name: Publish Packages | |
run: npm run publish-tagged-packages -- --tag '${{ github.event.pull_request.head.ref }}' --files '${{ steps.files.outputs.added_modified }}' | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |