From a92119bcbf642a6c3f2a19990db41fdc153936d5 Mon Sep 17 00:00:00 2001 From: Jon <66625200+Kyro3400@users.noreply.github.com> Date: Fri, 23 Aug 2024 16:07:41 -0400 Subject: [PATCH 1/3] Create build.yml See if this helps with programming everything --- .github/workflows/build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..d18266a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,27 @@ +name: Docs Build + +on: + push: + branches: [ $default-branch ] + pull_request: + branches: [ $default-branch ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x, 20.x, 22.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm i + - run: npm run build From 3bc2d00560bdfbe67263b7202a2685ca15e3b533 Mon Sep 17 00:00:00 2001 From: Jon <66625200+Kyro3400@users.noreply.github.com> Date: Fri, 23 Aug 2024 16:10:18 -0400 Subject: [PATCH 2/3] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d18266a..c4e3827 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: push: branches: [ $default-branch ] pull_request: - branches: [ $default-branch ] + branches: [ Build-Patch ] jobs: build: From 702249acce6197df653f4d477af6381bee23162b Mon Sep 17 00:00:00 2001 From: Jon <66625200+Kyro3400@users.noreply.github.com> Date: Fri, 23 Aug 2024 16:11:13 -0400 Subject: [PATCH 3/3] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4e3827..d18266a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: push: branches: [ $default-branch ] pull_request: - branches: [ Build-Patch ] + branches: [ $default-branch ] jobs: build: