feat: add apk release #39
Workflow file for this run
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: "Pull Request Checks" | |
on: | |
pull_request: | |
jobs: | |
## | |
# install | |
## | |
install: | |
name: "Install" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "π Checkout" | |
uses: actions/checkout@v4 | |
- name: "π§ Setup" | |
uses: ./.github/actions/use-dependencies | |
## | |
# validate pr title, lint, build and test | |
## | |
validate_pr_title: | |
name: "Validate PR Title" | |
needs: install | |
runs-on: ubuntu-latest | |
steps: | |
- name: "π Checkout" | |
uses: actions/checkout@v4 | |
- name: "π§ Setup" | |
uses: ./.github/actions/use-dependencies | |
- name: "β Validate" | |
run: echo "${{ github.event.pull_request.title }}" | yarn commitlint | |
lint: | |
name: "Lint" | |
needs: [install, validate_pr_title] | |
runs-on: ubuntu-latest | |
steps: | |
- name: "π Checkout" | |
uses: actions/checkout@v4 | |
- name: "π§ Setup" | |
uses: ./.github/actions/use-dependencies | |
- name: "π Lint" | |
run: yarn lint | |
build: | |
name: "Build" | |
needs: [install, validate_pr_title] | |
runs-on: ubuntu-latest | |
steps: | |
- name: "π Checkout" | |
uses: actions/checkout@v4 | |
- name: "π§ Setup" | |
uses: ./.github/actions/use-dependencies | |
- name: "ποΈ Build" | |
run: yarn build | |
test: | |
name: "Test" | |
needs: [install, validate_pr_title] | |
runs-on: ubuntu-latest | |
steps: | |
- name: "π Checkout" | |
uses: actions/checkout@v4 | |
- name: "π§ Setup" | |
uses: ./.github/actions/use-dependencies | |
- name: "π§ͺ Test" | |
run: yarn test |