From ca205d7b44b067c7959e2f3ae9fc8cb23a07de4f Mon Sep 17 00:00:00 2001 From: 99-Knots <155378311+99-Knots@users.noreply.github.com> Date: Fri, 31 May 2024 14:50:23 +0200 Subject: [PATCH 1/2] Create build-node.yml --- .github/workflows/build-node.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/build-node.yml diff --git a/.github/workflows/build-node.yml b/.github/workflows/build-node.yml new file mode 100644 index 0000000..5d63ba5 --- /dev/null +++ b/.github/workflows/build-node.yml @@ -0,0 +1,19 @@ +name: build project + +on: + push: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: '20.x' + cache: 'npm' + - run: npm ci + - run: npm run build --if-present From cf46ac1595751af358b48abcf4a71f8dbfd91a8b Mon Sep 17 00:00:00 2001 From: 99-Knots <155378311+99-Knots@users.noreply.github.com> Date: Fri, 31 May 2024 14:58:23 +0200 Subject: [PATCH 2/2] Delete .github/workflows directory --- .github/workflows/build-node.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .github/workflows/build-node.yml diff --git a/.github/workflows/build-node.yml b/.github/workflows/build-node.yml deleted file mode 100644 index 5d63ba5..0000000 --- a/.github/workflows/build-node.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: build project - -on: - push: - branches: [ "main" ] - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: '20.x' - cache: 'npm' - - run: npm ci - - run: npm run build --if-present