Merge pull request #25 from SuperViz/docs/fix/readme #6
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: Realtime - Configure package | |
on: | |
push: | |
branches: ["master"] | |
paths: | |
- "packages/realtime/**" | |
- ".github/workflows/realtime.ci.yml" | |
jobs: | |
configure-superviz-realtime: | |
defaults: | |
run: | |
working-directory: packages/realtime | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
id-token: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ">=20.8.1" | |
- run: git config --global user.name SuperViz | |
- run: git config --global user.email dev@superviz.com | |
- name: Install dependencies and run Semantic release | |
run: | | |
npm install | |
npm audit signatures | |
npx semantic-release | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
- name: Commit changes | |
run: | | |
git add . | |
git commit -m "chore(release): update package versions [skip ci]" || echo "No changes to commit" | |
git push --tags | |
git push |