Skip to content

chore: Change NPM's default directory #63

chore: Change NPM's default directory

chore: Change NPM's default directory #63

Workflow file for this run

name: ci
on:
push:
branches:
- main
paths-ignore:
- README.md
pull_request:
branches:
- main
paths-ignore:
- README.md
jobs:
test:
runs-on: ubuntu-22.04
permissions:
checks: write
statuses: write
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Check code style
uses: reviewdog/[email protected]
- name: Run static analysis
uses: reviewdog/[email protected]
- name: Run tests
env:
NPM_CONFIG_PREFIX: ~/.npm-global
run: |
npm install -g [email protected]
bats --report-formatter junit . completion/bash
- name: Create test report
uses: dorny/[email protected]
if: always()
with:
name: Test report
path: report.xml
reporter: java-junit