Skip to content

Commit

Permalink
fix branches and version bump of actions
Browse files Browse the repository at this point in the history
- change playwright files
  • Loading branch information
Dexus committed Dec 23, 2024
1 parent 784f79f commit 89d8db9
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 89d8db9

Please sign in to comment.