Skip to content

fix(npm): fetching npm versions not working #15

fix(npm): fetching npm versions not working

fix(npm): fetching npm versions not working #15

Workflow file for this run

name: run-tests
on:
pull_request:
jobs:
run-tests:
runs-on: windows-2022
strategy:
matrix:
node-versions: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- name: Copy Node.exe to repository directory
run: Copy-Item (Get-Command node.exe | Select-Object -ExpandProperty Definition) .
- run: npm test
env:
NODIST_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}