Skip to content

chore: Re-generate dist/index.js #562

chore: Re-generate dist/index.js

chore: Re-generate dist/index.js #562

Workflow file for this run

name: Develop and Release Test
on:
push:
branches:
- main
- develop
- release/*
paths-ignore:
- '**.md'
defaults:
run:
shell: nu {0}
jobs:
test-latest:
strategy:
matrix:
os: [ubuntu-22.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
name: test (${{matrix.os}}, setup-nu@latest-dev)
steps:
- uses: actions/checkout@v4
- name: Setup nu@latest
uses: hustcer/setup-nu@develop
with:
check-latest: true
enable-plugins: true
env:
ACTIONS_STEP_DEBUG: true
- name: You can run bash commands, too
run: pwd && ls -la
shell: bash
- name: Default shell will be `nu`
run: |
print $'Nu version info:(char nl)'; print (version)
print $'Current env:(char nl)'; print $env
print 'Current NU_LIB_DIRS:'
print $env.NU_LIB_DIRS
print $'Nu path:(which nu)(char nl)'
print $"(char nl)Dir contents:(char nl)"; print (ls ((which nu).path.0 | path dirname))
def greeting [name: string] {
print $'Hello ($name)'
}
greeting hustcer
test-ver:
strategy:
matrix:
os: [ubuntu-22.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
name: test (${{matrix.os}}, setup-nu@v3)
steps:
- uses: actions/checkout@v4
- name: Setup nu@latest
uses: hustcer/setup-nu@v3
with:
version: v0.86
enable-plugins: true
env:
ACTIONS_STEP_DEBUG: true
- run: print $'Nu version info:(char nl)'; version
- run: print $'Current env:(char nl)'; $env
- run: print $'Nu path:(which nu)(char nl)'
- run: print $"(char nl)Dir contents:(char nl)"; ls ((which nu).path.0 | path dirname)