Skip to content

fix script for testing #2

fix script for testing

fix script for testing #2

Workflow file for this run

name: Validate
on:
push:
paths-ignore:
- '**.md'
jobs:
test:
name: Test
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm install
- name: Test
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
run: npm test
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm install
- name: Style
run: npm run prettier
- name: Lint
run: npm run eslint