refactor: switch to traefik v3 #240
Workflow file for this run
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
name: PR Release Tests | |
on: | |
pull_request: | |
jobs: | |
package: | |
runs-on: ubuntu-latest | |
env: | |
TERM: xterm | |
strategy: | |
matrix: | |
arch: | |
- x64 | |
- arm64 | |
node-version: | |
- 'lts/*' | |
os: | |
- linux | |
- macos | |
- win | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install node ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- name: Install Yarn dependencies | |
run: yarn install --prefer-offline --frozen-lockfile --production | |
- name: Reset version if needed | |
run: | | |
yarn add @lando/argv@^1.1.0 | |
node ./scripts/dev-version.js | |
node ./bin/lando version | |
- name: Package into node binary | |
uses: lando/pkg-action@v5 | |
id: pkg-action | |
with: | |
entrypoint: bin/lando.js | |
arch: ${{ matrix.arch }} | |
os: ${{ matrix.os }} | |
# sign-n-deploy: | |
# runs-on: ${{ matrix.os }} | |
# needs: | |
# - package | |
# env: | |
# TERM: xterm | |
# strategy: | |
# matrix: | |
# include: | |
# - os: windows-2022 | |
# key: cli-node14-win-x64-${{ github.sha }} | |
# file: lando/cli.exe | |
# certificate-data: WINDOZE_CERT_DATA | |
# certificate-password: WINDOZE_CERT_PASSWORD | |
# result: lando-win-x64-snapshot-${{ github.sha }}.exe | |
# - os: windows-2022 | |
# key: cli-node14-win-arm64-${{ github.sha }} | |
# file: lando/cli.exe | |
# certificate-data: WINDOZE_CERT_DATA | |
# certificate-password: WINDOZE_CERT_PASSWORD | |
# result: lando-win-arm64-snapshot-${{ github.sha }}.exe | |
# - os: macos-11 | |
# key: cli-node14-macos-x64-${{ github.sha }} | |
# file: lando/cli | |
# certificate-data: APPLE_CERT_DATA | |
# certificate-password: APPLE_CERT_PASSWORD | |
# apple-product-id: dev.lando.cli | |
# apple-team-id: FY8GAUX282 | |
# apple-notary-user: APPLE_NOTARY_USER | |
# apple-notary-password: APPLE_NOTARY_PASSWORD | |
# options: --options runtime --entitlements entitlements.xml | |
# result: lando-macos-x64-snapshot-${{ github.sha }} | |
# - os: macos-11 | |
# key: cli-node14-macos-arm64-${{ github.sha }} | |
# file: lando/cli | |
# certificate-data: APPLE_CERT_DATA | |
# certificate-password: APPLE_CERT_PASSWORD | |
# apple-product-id: dev.lando.cli | |
# apple-team-id: FY8GAUX282 | |
# apple-notary-user: APPLE_NOTARY_USER | |
# apple-notary-password: APPLE_NOTARY_PASSWORD | |
# options: --options runtime --entitlements entitlements.xml | |
# result: lando-macos-arm64-snapshot-${{ github.sha }} | |
# - os: ubuntu-20.04 | |
# key: cli-node14-linux-x64-${{ github.sha }} | |
# file: lando/cli | |
# result: lando-linux-x64-snapshot-${{ github.sha }} | |
# - os: ubuntu-20.04 | |
# key: cli-node14-linux-arm64-${{ github.sha }} | |
# file: lando/cli | |
# result: lando-linux-arm64-snapshot-${{ github.sha }} | |
# steps: | |
# - name: Checkout code | |
# uses: actions/checkout@v2 | |
# - name: Download ${{ matrix.key }} | |
# uses: actions/download-artifact@v3 | |
# with: | |
# name: ${{ matrix.key }} | |
# path: lando | |
# - name: Sign and Notarize | |
# uses: lando/code-sign-action@v2 | |
# id: code-sign-action | |
# with: | |
# file: ${{ matrix.file }} | |
# certificate-data: ${{ secrets[matrix.certificate-data] }} | |
# certificate-password: ${{ secrets[matrix.certificate-password] }} | |
# apple-notary-user: ${{ secrets[matrix.apple-notary-user] }} | |
# apple-notary-password: ${{ secrets[matrix.apple-notary-password] }} | |
# apple-product-id: ${{ matrix.apple-product-id }} | |
# apple-team-id: ${{ matrix.apple-team-id }} | |
# options: ${{ matrix.options }} | |
# - name: Rename as needed | |
# shell: bash | |
# run: | | |
# chmod +x ${{ steps.code-sign-action.outputs.file }} | |
# mv ${{ steps.code-sign-action.outputs.file }} ${{ matrix.result }} | |
# - name: Upload snapshot release ${{ matrix.result }} | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: ${{ matrix.result }} | |
# path: ${{ matrix.result }} | |
# if-no-files-found: error | |
# retention-days: 1 |