Skip to content

ci: move analyze code to before build runner #29

ci: move analyze code to before build runner

ci: move analyze code to before build runner #29

name: Socket client - Configure pakcage
on:
push:
branches: ["master"]
paths:
- "packages/socket-client/**"
- ".github/workflows/socket-client.ci.yml"
- ".github/workflows/socket-client-publish.ci.yml"
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
jobs:
configure_superviz_socket_client:
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 [email protected]
- name: Install dependencies and run Semantic release
run: |
cd packages/socket-client
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 --follow-tags