This commit is contained in:
Oscar Dominguez 2023-03-02 02:27:35 +09:00 committed by GitHub
commit 9fc5dddcdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,15 @@
name: http-tests
on:
on:
push:
branches:
- main
paths-ignore:
- '**.md'
- "**.md"
pull_request:
paths-ignore:
- '**.md'
- "**.md"
jobs:
build:
name: Build
@ -23,29 +22,30 @@ jobs:
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: npm install
run: npm install
- name: npm install
run: npm install
- name: Compile
run: npm run build
- name: Compile
run: npm run build
- name: npm test
run: npm test
- name: npm test
run: npm test
- name: Format
shell: bash
run: npm run format-check
if: matrix.runs-on == 'ubuntu-latest'
- name: Format
shell: bash
run: npm run format-check
if: matrix.runs-on == 'ubuntu-latest'
- name: audit security
continue-on-error: true
run: npm audit --audit-level=moderate
if: matrix.runs-on == 'ubuntu-latest'
- name: audit security
continue-on-error: true
run: npm audit --audit-level=moderate
if: matrix.runs-on == 'ubuntu-latest'