From 89d8db902ea84ee55dd174f4c2ccd114f2f84f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Fr=C3=B6hle?= Date: Mon, 23 Dec 2024 13:08:03 +0100 Subject: [PATCH] fix branches and version bump of actions - change playwright files --- .github/workflows/build.yml | 50 ++++++++++++++++---------------- .github/workflows/playwright.yml | 8 ++--- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b018a5e..37e168d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,41 +3,41 @@ name: build on: push: # enable next line to limit branches to run - branches: [ "master" ] + branches: ["main"] pull_request: # enable next line to limit branches to run - # branches: [ "master" ] + # branches: [ "main" ] jobs: build: strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [20.x, 22.x] os: [windows-2022, ubuntu-22.04] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 - with: - submodules: recursive + - uses: actions/checkout@v4 + with: + submodules: recursive -# not needed currently, but leaving here for future use -# - uses: actions/setup-python@v4 -# with: -# python-version: '2.7.18' + # not needed currently, but leaving here for future use + # - uses: actions/setup-python@v4 + # with: + # python-version: '2.7.18' - - name: boost - if: startsWith(matrix.os,'ubuntu') - run: sudo apt-get update && sudo apt-get install -yq libboost-dev - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} + - name: boost + if: startsWith(matrix.os,'ubuntu') + run: sudo apt-get update && sudo apt-get install -yq libboost-dev - - name: Build - run: | - npm install - npm run build - - name: Package - run: | - npm run dist + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: | + npm install + npm run build + - name: Package + run: | + npm run dist diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 4f0a7b0..6b06665 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -1,11 +1,11 @@ name: Playwright Tests on: push: - branches: [main, master] - paths: ['**.json', '**.js', '**.ts', '**.gyp', '**.cc', '**.hpp', '**.yml'] + branches: [main] + paths: ["**.json", "**.js", "**.ts", "**.jsx", "**.tsx", "**.yml"] pull_request: - branches: [main, master] - paths: ['**.json', '**.js', '**.ts', '**.gyp', '**.cc', '**.hpp', '**.yml'] + branches: [main] + paths: ["**.json", "**.js", "**.ts", "**.jsx", "**.tsx", "**.yml"] jobs: test: strategy: