Skip to content

ci: use ssh url to authenticate #64

ci: use ssh url to authenticate

ci: use ssh url to authenticate #64

Workflow file for this run

name: publish
on:
push:
branches:
- main
- beta
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: "0"
ssh-key: ${{ secrets.DEPLOY_KEY }}
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install dependencies
run: yarn
- name: Test
run: yarn test
- name: Release
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: yarn semantic-release --repositoryUrl: ${{ github.repositoryUrl }}

Check failure on line 35 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 35