Skip to content

Try my fix out

Try my fix out #11

Workflow file for this run

name: Testing
on:
push:
branches:
- main
- master
pull_request: {}
jobs:
a:
name: 'actions/setup-node (default)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- run: node --version
aa:
name: 'actions/setup-node (with node-version-file: package.json)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: package.json
- run: node --version
aaa:
name: 'actions/setup-node (with node-version-file: empty package.json)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# clear the package.json
- run: 'echo "{ \"name\": \"test\" }" > package.json'
- uses: actions/setup-node@v3
with:
node-version-file: package.json
- run: node --version
aaaa:
name: 'nvp/setup-node (with node-version-file: empty package.json)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# clear the package.json
- run: 'echo "{ \"name\": \"test\" }" > package.json'
- uses: NullVoxPopuli/setup-node@fix-864-testing
with:
node-version-file: package.json
- run: node --version
b:
name: 'wyvox/action-setup-pnpm'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: node --version
bb:
name: 'wyvox/action-setup-pnpm (no volta config - new feature branch)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# clear the package.json
- run: 'echo "{}" > package.json'
- uses: wyvox/action-setup-pnpm@change-default-node-version-file-to-package.json
- run: node --version
bbb:
name: 'wyvox/action-setup-pnpm (with volta config - new feature branch)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@change-default-node-version-file-to-package.json
- run: node --version
c:
name: 'wyvox/action'
runs-on: ubuntu-latest
steps:
- uses: wyvox/action@v1
- run: node --version