Merge pull request #109 from atlas-bi/renovate/lint-staged-14.x #135
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: | |
workflow_dispatch: | |
push: | |
branches: [master, alpha, dev] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
outputs: | |
new_release_version: ${{ steps.semantic.outputs.new_release_version }} | |
new_release_published: ${{ steps.semantic.outputs.new_release_published }} | |
last_release_version: ${{ steps.semantic.outputs.last_release_version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: 📥 Download deps | |
uses: bahmutov/npm-install@v1 | |
with: | |
useLockFile: false | |
- run: npm run build | |
- name: Build Archive | |
run: tar -czvf build.tar.gz package.json build app lib prisma public styles .env.example CHANGELOG.md package-lock.json README.md remix.config.js remix.env.d.ts server.ts tailwind.config.js tsconfig.json | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v3 | |
id: semantic | |
with: | |
semantic_version: 18 | |
extra_plugins: | | |
@semantic-release/changelog@6 | |
@semantic-release/exec | |
@semantic-release/git@10 | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }} |