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

test commit #9

Merged
merged 2 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/mention-to-chatwork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,11 @@ jobs:
run: |
npm install
npm run build
mkdir act
cp -r dist act
cp action.yml act

- name: test run
uses: ./act
uses: ./
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
api-token: ${{ secrets.CHATWORK_API_TOKEN }}
run-id: ${{ github.run_id }}
run-id: ${{ github.run_id }}
review-request: false
28 changes: 12 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,18 @@ jobs:
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-

- run: npm install

- run: npm run test -- --coverage
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 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 }}
Loading