2021-04-07 11:00:09 +00:00
|
|
|
name: Main
|
|
|
|
|
|
|
|
on:
|
2021-05-15 14:56:38 +00:00
|
|
|
workflow_dispatch:
|
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 }}
|