From c112d50f45af6f004f44f2e32385b22cafc1fadb Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Tue, 26 Sep 2023 23:32:41 +1000 Subject: [PATCH] please for the love of god --- .github/workflows/build.yml | 34 +++++++++++++++++----------------- package.json | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 23ce2b4..3611658 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,19 +1,19 @@ name: Build -on: - push: - branches: - - master +on: + push: + branches: + - main jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout project - uses: actions/checkout@v3 - - name: Build and push - uses: alexthemaster/action-build-typescript@v. # check the releases tab on the right for versions (looks like this: v1.0.0) - # use this if you want the sharpest of cutting edges (can and probably WILL break from time to time) - # uses: alexthemaster/action-build-typescript@master - with: - pushToBranch: true # optional; can either be true or false | defaults to false - branch: 'dist' # optional; the name of the branch the action should push the compiled code to | defaults to dist - githubToken: ${{ secrets.GITHUB_TOKEN }} # required if you use the pushToBranch option \ No newline at end of file + build: + runs-on: ubuntu-latest + steps: + - name: Checkout project + uses: actions/checkout@v3 + - name: Build and push + uses: alexthemaster/action-build-typescript@v. # check the releases tab on the right for versions (looks like this: v1.0.0) + # use this if you want the sharpest of cutting edges (can and probably WILL break from time to time) + # uses: alexthemaster/action-build-typescript@master + with: + pushToBranch: true # optional; can either be true or false | defaults to false + branch: "dist" # optional; the name of the branch the action should push the compiled code to | defaults to dist + githubToken: ${{ secrets.GITHUB_TOKEN }} # required if you use the pushToBranch option diff --git a/package.json b/package.json index db35c4a..9effa26 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "build": "tsc", "tsc:watch": "tsc -w", - "lint:fix": "eslint --fix .", + "lint:fix": "eslint --fix ." }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.54.1",