-
-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate to node 16 workspaces (#941)
* chore: migrate to node 16 workspaces * chore: remove private flag
- Loading branch information
Showing
11 changed files
with
141 additions
and
10,503 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,78 +10,76 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
node-version: [ 16.x ] | ||
node-version: [16.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install | ||
run: npm ci | ||
- name: Build Valetudo armv7 | ||
run: npm run build -w backend | ||
- name: Build Valetudo armv7 lowmem | ||
run: npm run build_armv7_lowmem -w backend | ||
- name: Build Valetudo aarch64 | ||
run: npm run build_aarch64 -w backend | ||
- name: UPX-compress valetudo binaries | ||
run: npm run upx | ||
|
||
|
||
- name: Upload Valetudo armv7 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build/armv7/valetudo | ||
asset_name: valetudo-armv7 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload Valetudo armv7.upx | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build/armv7/valetudo.upx | ||
asset_name: valetudo-armv7.upx | ||
asset_content_type: binary/octet-stream | ||
- name: Upload Valetudo armv7 lowmem | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build/armv7/valetudo_lowmem | ||
asset_name: valetudo-armv7-lowmem | ||
asset_content_type: binary/octet-stream | ||
- name: Upload Valetudo armv7 lowmem.upx | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build/armv7/valetudo_lowmem.upx | ||
asset_name: valetudo-armv7-lowmem.upx | ||
asset_content_type: binary/octet-stream | ||
- name: Upload Valetudo aarch64 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build/aarch64/valetudo | ||
asset_name: valetudo-aarch64 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload Valetudo aarch64.upx | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build/aarch64/valetudo.upx | ||
asset_name: valetudo-aarch64.upx | ||
asset_content_type: binary/octet-stream | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install | ||
run: npm ci | ||
- name: Build Valetudo armv7 | ||
run: npm run build --workspace=backend | ||
- name: Build Valetudo armv7 lowmem | ||
run: npm run build_armv7_lowmem --workspace=backend | ||
- name: Build Valetudo aarch64 | ||
run: npm run build_aarch64 --workspace=backend | ||
- name: UPX-compress valetudo binaries | ||
run: npm run upx | ||
|
||
- name: Upload Valetudo armv7 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build/armv7/valetudo | ||
asset_name: valetudo-armv7 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload Valetudo armv7.upx | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build/armv7/valetudo.upx | ||
asset_name: valetudo-armv7.upx | ||
asset_content_type: binary/octet-stream | ||
- name: Upload Valetudo armv7 lowmem | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build/armv7/valetudo_lowmem | ||
asset_name: valetudo-armv7-lowmem | ||
asset_content_type: binary/octet-stream | ||
- name: Upload Valetudo armv7 lowmem.upx | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build/armv7/valetudo_lowmem.upx | ||
asset_name: valetudo-armv7-lowmem.upx | ||
asset_content_type: binary/octet-stream | ||
- name: Upload Valetudo aarch64 | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build/aarch64/valetudo | ||
asset_name: valetudo-aarch64 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload Valetudo aarch64.upx | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build/aarch64/valetudo.upx | ||
asset_name: valetudo-aarch64.upx | ||
asset_content_type: binary/octet-stream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v16.1.0 | ||
v16.2.0 |
Empty file.
Oops, something went wrong.