Skip to content

Commit

Permalink
feat: add job summary action (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jazanne authored Jan 30, 2024
1 parent 69483d9 commit 690eb38
Show file tree
Hide file tree
Showing 31 changed files with 34 additions and 10,856 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .gitattributes

This file was deleted.

26 changes: 0 additions & 26 deletions .github/dependabot.yml

This file was deleted.

83 changes: 0 additions & 83 deletions .github/linters/.eslintrc.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/linters/.markdown-lint.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/linters/.yaml-lint.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/linters/tsconfig.json

This file was deleted.

64 changes: 0 additions & 64 deletions .github/workflows/check-dist.yml

This file was deleted.

45 changes: 7 additions & 38 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,53 +10,22 @@ permissions:
contents: read

jobs:
test-typescript:
name: TypeScript Tests
runs-on: ubuntu-latest

steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4

- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm

- name: Install Dependencies
id: npm-ci
run: npm ci

- name: Check Format
id: npm-format-check
run: npm run format:check

- name: Lint
id: npm-lint
run: npm run lint

- name: Test
id: npm-ci-test
run: npm run ci-test

test-action:
name: GitHub Actions Test
runs-on: ubuntu-latest

steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4

- name: Test Local Action
id: test-action
uses: ./
with:
milliseconds: 2000
summary: |
# Job summary
Hi this is my summary with a list:
- item 1
- item 2
- name: Print Output
id: output
run: echo "${{ steps.test-action.outputs.time }}"
Here is a link to my run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
48 changes: 0 additions & 48 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/linter.yml

This file was deleted.

Loading

0 comments on commit 690eb38

Please sign in to comment.