Skip to content

Commit

Permalink
Update release pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed Feb 19, 2024
1 parent 339df4e commit 3a02763
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 42 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/snapshot_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
default: 'Snapshot release'

jobs:
test:
deploy:
strategy:
matrix:
os: [ ubuntu-20.04, macos-11, windows-2019 ]
Expand Down Expand Up @@ -41,26 +41,6 @@ jobs:
with:
working-directory: ./test/window-integration-tests
run: npm cit

deploy:
needs:
- test
strategy:
matrix:
os: [ ubuntu-20.04, macos-11, windows-2019 ]
runs-on: ${{matrix.os}}
steps:
- name: Set up Git repository
uses: actions/[email protected]
- name: Set up node
uses: actions/[email protected]
with:
node-version: 18
- name: Configure Linux environment
if: ${{matrix.os == 'ubuntu-20.04'}}
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
- name: Install
run: npm run patch && npm i
- name: Publish snapshot release
if: ${{matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-11'}}
run: ./.build/pre-release.sh
Expand Down
22 changes: 1 addition & 21 deletions .github/workflows/tagged_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- v*.*.*

jobs:
test:
deploy:
strategy:
matrix:
os: [ ubuntu-20.04, macos-11, windows-2019 ]
Expand Down Expand Up @@ -35,26 +35,6 @@ jobs:
with:
working-directory: ./test/window-integration-tests
run: npm cit

deploy:
needs:
- test
strategy:
matrix:
os: [ ubuntu-20.04, macos-11, windows-2019 ]
runs-on: ${{matrix.os}}
steps:
- name: Set up Git repository
uses: actions/[email protected]
- name: Set up node
uses: actions/[email protected]
with:
node-version: 18
- name: Configure Linux environment
if: ${{matrix.os == 'ubuntu-20.04'}}
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
- name: Install
run: npm run patch && npm i
- name: Publish tagged release
uses: JS-DevTools/npm-publish@v1
with:
Expand Down

0 comments on commit 3a02763

Please sign in to comment.