Bump @vercel/ncc from 0.38.0 to 0.38.1 #1630
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: CPAN installer | |
on: | |
pull_request: | |
paths: | |
- "bin/cpanm" | |
- "bin/cpm" | |
- "bin/carton" | |
- "__test__/**" | |
- "src/**" | |
- "package.json" | |
- "package-lock.json" | |
- "action.yml" | |
push: | |
branches: | |
- "main" | |
workflow_dispatch: | |
jobs: | |
installer: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
installer: | |
- cpanm | |
- cpm | |
- carton | |
perl: | |
- "5" # latest version of Perl 5 | |
# TODO: fix cpm | |
# - "5.8.1" # oldest version the original cpanm supports | |
# TODO: @shogo82148 fix me | |
# building ExtUtils::MakeMaker fails. | |
# - "5.8.0" | |
# TODO: fix cpm | |
# - "5.6.2" | |
# - "5.6.1" # oldest version the action supports | |
# too old to work cpanm... I gave up. | |
# - "5.6.0" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: "package.json" | |
cache: npm | |
- run: npm ci | |
- run: npm run build | |
- run: npm run package | |
- name: use the action | |
uses: ./ | |
with: | |
perl-version: "${{ matrix.perl }}" | |
install-modules-with: "${{ matrix.installer }}" | |
install-modules: | | |
ExtUtils::MakeMaker | |
working-directory: __test__/p5-Test-Module | |
- name: print the version of App::p and use it | |
run: | | |
# shellcheck disable=SC2016 | |
perl -MApp::p -e 'print "$App::p::VERSION\n"' | |
p 'print "Hello World\n"' | |
- name: print the version of ExtUtils::MakeMaker | |
run: | | |
perl -MExtUtils::MakeMaker -e 'print $ExtUtils::MakeMaker::VERSION' | |
- run: ${{ matrix.installer }} --help | |
- run: ${{ matrix.installer }} --version |