Skip to content

Draft Release

Draft Release #22

Workflow file for this run

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 }}'