Skip to content

Revert "feat: using env.runner_temp instead of home directory to writ… #53

Revert "feat: using env.runner_temp instead of home directory to writ…

Revert "feat: using env.runner_temp instead of home directory to writ… #53

Workflow file for this run

name: release
on:
push:
branches:
- main
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm ci
- run: npm run build
- run: rm .gitignore # dist/ folder is ignored by default
- run: |
git config user.name github-actions
git config user.email [email protected]
git add .gitignore dist/
git commit -m "build"
git push --force https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}