From ed81c3feb333038858e6c1bff8d99a3d131ce84e Mon Sep 17 00:00:00 2001 From: OIRNOIR Date: Fri, 24 Feb 2023 20:04:10 -0800 Subject: [PATCH] asdfgausyhjfbansdf --- .github/workflows/lint.yml | 33 +++++++++++++++++++++++++++++++ .github/workflows/release.yml | 37 +++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100755 .github/workflows/lint.yml create mode 100755 .github/workflows/release.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100755 index 0000000..77c8da8 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,33 @@ +name: Lint + +on: + push: + branches: + - '*' + pull_request: + branches: + - '*' + +jobs: + run-linters: + name: Run linters + runs-on: ubuntu-latest + + steps: + - name: Check out Git repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 14 + + - uses: pnpm/action-setup@v2 + with: + version: latest + + - name: Install Node.js dependencies + run: pnpm install + + - name: Run linters + run: pnpm run lint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100755 index 0000000..45bacf6 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,37 @@ +name: Release + +on: + push: + tags: + - "v*" + +jobs: + release: + name: Release + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - name: Check out Git repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 14 + + - uses: pnpm/action-setup@v2 + with: + version: latest + + - name: Install Node.js dependencies + run: pnpm install + + - name: Build TypeScript and bundle into asar + run: pnpm run bundle + + - uses: ncipollo/release-action@v1 + with: + artifacts: "bundle/*" + makeLatest: true