Draft Release #26
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: Draft Release | |
'on': | |
create: | |
tags: | |
- '*' | |
jobs: | |
check: | |
name: Check | |
strategy: | |
fail-fast: false | |
matrix: | |
command: | |
- 'npm run check:lint' | |
- 'npm run check:typescript' | |
- 'npm run check:coverage' | |
- 'npm run check:npm-audit' | |
- 'npm run check:depcheck' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: npm install | |
run: npm ci | |
- name: '${{ matrix.command }}' | |
uses: ./.github/action | |
with: | |
command: '${{ matrix.command }}' | |
create-executable: | |
if: true | |
name: Create executable | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- windows-latest | |
runs-on: '${{ matrix.os }}' | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: npm install | |
run: npm ci | |
- name: 'Create executable ${{ matrix.os }}' | |
uses: ./.github/action | |
with: | |
task: create-executable | |
draft-release: | |
if: true | |
name: Draft release | |
needs: create-executable | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: npm install | |
run: npm ci | |
- name: Draft release | |
uses: ./.github/action | |
with: | |
task: draft-release | |
githubToken: '${{ secrets.GITHUB_TOKEN }}' |