feat!: Update action runtime to nodejs20
, update default ArgoCD ver…
#20
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: release | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/release.yml' | |
- 'dist/**' | |
- 'src/**' | |
- 'action.yml' | |
- 'yarn.lock' | |
jobs: | |
release: | |
name: release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE }} | |
run: | | |
yarn | |
yarn release |