Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

不要if削除

不要if削除 #72

Workflow file for this run

name: Test & Lint
on:
push:
branches:
- "**"
- "!release"
paths:
- "src/**"
- "__tests__/**"
- "*.js"
- "*.json"
- ".github/workflows/test.yml"
jobs:
test_lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- name: Cache npm
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- run: npm install
- run: npm run test -- --coverage
- run: npm run lint
- run: npm run build
- name: test run
uses: ./
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
api-token: ${{ secrets.CHATWORK_API_TOKEN }}
run-id: ${{ github.run_id }}