Repository navigation
docs: update README to enhance clarity and detail on CoCreate Socket … #300
This file contains hidden or 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: Automated Workflow | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| about: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 16 | |
| - name: Jaid/action-sync-node-meta | |
| uses: jaid/action-sync-node-meta@v1.4.0 | |
| with: | |
| direction: overwrite-github | |
| githubToken: "${{ secrets.GITHUB }}" | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Required so semantic-release can trace git tags/history | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Install Semantic Release & Plugins | |
| # Installs semantic-release and its plugins on the runner | |
| run: | | |
| npm install -g semantic-release \ | |
| @semantic-release/changelog \ | |
| @semantic-release/npm \ | |
| @semantic-release/github \ | |
| @semantic-release/git | |
| - name: Run Semantic Release (Native) | |
| id: semantic | |
| # This will automatically pick up your export default config file in the repository root | |
| run: npx semantic-release | |
| env: | |
| GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
| NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" | |
| outputs: | |
| new_release_published: "${{ steps.semantic.outputs.new_release_published }}" | |
| new_release_version: "${{ steps.semantic.outputs.new_release_version }}" |