chore(release): Release 3.0.5 #36
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: Publish to npm | |
| on: | |
| push: | |
| branches: ["master"] | |
| pull_request: | |
| branches: ["master"] | |
| env: | |
| LATEST_TAG: latest | |
| permissions: | |
| contents: write | |
| pages: write | |
| id-token: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| registry-url: "https://registry.npmjs.org/" | |
| - uses: pnpm/action-setup@v4 | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build | |
| run: pnpm run build | |
| - name: Semantic Release 🚀 | |
| id: semantic | |
| run: npx semantic-release --branches master | |
| env: | |
| GH_TOKEN: ${{ secrets.OPENINC_SEMANTIC_RELEASE }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN_ORG_OPENINC }} | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_ORG_OPENINC }} |