Skip to content

Commit

Permalink
be able to run by dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
hogashi committed Nov 28, 2023
1 parent 7833315 commit 02af445
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: Node.js CI

on: [push]
on: [push, workflow_dispatch]

permissions:
contents: read
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

0 comments on commit 02af445

Please sign in to comment.