Skip to content

fix: remove space from source #18

fix: remove space from source

fix: remove space from source #18

Workflow file for this run

name: test
on:
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Set up Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Cache Node.js modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install
run: npm ci
- name: Test
run: |
set -eu
npm run lint
npm run test