Skip to content

🚀⚙️ Hello world #13

🚀⚙️ Hello world

🚀⚙️ Hello world #13

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
changed_files:
runs-on: ubuntu-latest
name: Build Commit
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v38
- name: Get commit hash
id: commit-hash
uses: prompt/actions-commit-hash@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Run common
id: common
env:
COMMIT_HASH: ${{ steps.commit-hash.outputs.short }}
COMMIT_PATHS: ${{ steps.changed-files.outputs.all_changed_files }}
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
run: "cd scripts && pnpm i && cd .. && npx ts-node --esm scripts/common.ts"
- name: Upload assets artifact
if: ${{ !contains(steps.common.outputs.assets, 'false') }}
uses: actions/upload-artifact@v3
with:
name: assets
path: dist/
- name: Release
uses: softprops/action-gh-release@v1
if: ${{ !contains(steps.common.outputs.changelog, 'false') }}
with:
files: ${{ steps.common.outputs.assets }}