updated to lando/[email protected] #318
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: ${{ matrix.runner }} | |
env: | |
TERM: xterm | |
strategy: | |
fail-fast: false | |
matrix: | |
runner: | |
- macos-14 | |
- ubuntu-24.04 | |
node-version: | |
- '18' | |
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: npm | |
- name: Install dependencies | |
run: npm clean-install --prefer-offline --frozen-lockfile --production | |
- name: Install plugins | |
run: scripts/fatcore-install.sh | |
- name: Prepare Release | |
uses: lando/prepare-release-action@v3 | |
with: | |
version: dev | |
sync: false | |
- name: Ensure version | |
run: node ./bin/lando version | |
- name: Package into node binary | |
uses: lando/pkg-action@v5 | |
id: pkg-action | |
with: | |
entrypoint: bin/lando | |
node-version: ${{ matrix.node-version }} | |
os: ${{ matrix.os }} | |
options: --options dns-result-order=ipv4first | |
- name: Ensure fatcore | |
if: matrix.os == 'linux' && runner.os == 'Linux' && runner.arch == 'X64' | |
run: ./dist/@lando/cli config --path fatcore | grep true | |
- name: Ensure ipv4first | |
if: matrix.os == 'linux' && runner.os == 'Linux' && runner.arch == 'X64' | |
run: ./dist/@lando/cli config --path cli.args | grep dns-result-order=ipv4first | |