Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 767 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 767 Bytes

NPM test action

The action is a composite action that will run npm ci to install dependencies, and then npm test to run tests.

It makes use of:

Usage

- uses: wikiteq/npm-test-action@main

Example

The below is an example of how to setup your GitHub Actions workflow on a repository:

.github/workflows/main.yml

name: Example

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ "*" ]

jobs:
  npm-tests:
    name: NPM tests
    runs-on: ubuntu-latest
    steps:
      - uses: wikiteq/npm-test-action@main