fix: Ensure url is valid before opening to prevent XSS (#69) #36
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 React package | |
on: | |
push: | |
tags: | |
- 'react-v*' | |
jobs: | |
# Publish to GitHub package registry | |
publish-github: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Configure Doist package repository | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
registry-url: https://npm.pkg.github.com/ | |
scope: '@doist' | |
- name: Install dependencies | |
run: npm run bootstrap-ci:react | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.GH_PACKAGES_TOKEN}} | |
- name: Publish package | |
working-directory: ./packages/ui-extensions-react | |
run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.GH_PACKAGES_TOKEN}} |