Bump eslint from 8.49.0 to 8.50.0 #2
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: Windows Build | |
on: | |
push: | |
branches: | |
- "*" | |
tags: | |
- "*" | |
pull_request: | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
node: ["18"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "pnpm" | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Lint | |
run: pnpm run lint | |
- name: Build | |
if: github.ref == 'refs/heads/main' | |
run: pnpm run build | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
- name: Build | |
if: github.ref != 'refs/heads/main' | |
run: pnpm run build --publish=never | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
- uses: actions/upload-artifact@v3 | |
name: Upload Installer | |
with: | |
name: WeakAuras-Companion-CI-Installer | |
path: release/**/*Setup*.exe |