unpixel/.github/workflows/release.yml

26 lines
508 B
YAML
Raw Normal View History

2021-04-07 11:00:09 +00:00
name: Main
on:
2022-01-21 15:34:41 +00:00
push:
tags:
- "v*.*.*"
2021-04-07 11:00:09 +00:00
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
2021-05-15 14:56:38 +00:00
node-version: "14"
2022-01-09 18:21:52 +00:00
- name: PNPM
run: npm i -g pnpm
2021-04-07 14:39:43 +00:00
- name: Install dependencies
2022-01-09 18:21:52 +00:00
run: pnpm install --frozen-lockfile
2021-04-07 11:00:09 +00:00
- name: Build
2022-01-09 18:21:52 +00:00
run: pnpm run dist
2021-04-07 11:00:09 +00:00
env:
2021-05-15 14:56:38 +00:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2022-01-21 15:45:35 +00:00
EP_PRE_RELEASE: true