Skip to content

chore(deps): update all non-major dependencies with stable version (#83) #58

chore(deps): update all non-major dependencies with stable version (#83)

chore(deps): update all non-major dependencies with stable version (#83) #58

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
run-tests:
name: Tests
# Since we aren't specifying the workflow {owner}/{repo} and @{ref}, it will use the same commit as the caller workflow (same repo and branch)
uses: ./.github/workflows/test.yaml
publish:
name: Build and Publish
needs:
- run-tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.KONGPONENTS_BOT_PAT }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
env:
# Since branch protections are on (pushing commits) you need to use a bot PAT
GITHUB_TOKEN: ${{ secrets.KONGPONENTS_BOT_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN_PUBLIC_PUBLISH }}