From 02af445d43afe5937acf4892cc2fc92e4a01a290 Mon Sep 17 00:00:00 2001 From: hogashi Date: Wed, 29 Nov 2023 01:36:29 +0900 Subject: [PATCH] be able to run by dispatch --- .github/workflows/nodejs.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index c1fbddc8..62ed7f4e 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -1,6 +1,6 @@ name: Node.js CI -on: [push] +on: [push, workflow_dispatch] permissions: contents: read @@ -8,21 +8,21 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: setup - uses: actions/setup-node@v4 - with: - node-version: lts/* + - uses: actions/checkout@v4 + - name: setup + uses: actions/setup-node@v4 + with: + node-version: lts/* - - name: install - run: yarn install --frozen-lockfile + - name: install + run: yarn install --frozen-lockfile - - name: build - run: yarn build + - name: build + run: yarn build - - name: test - run: yarn test - env: - CI: true - # for jest - FORCE_COLOR: true + - name: test + run: yarn test + env: + CI: true + # for jest + FORCE_COLOR: true