Skip to content

Commit

Permalink
please for the love of god
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyUnderStars committed Sep 26, 2023
1 parent 8e5843e commit c112d50
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c112d50

Please sign in to comment.