Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
OR13 committed Aug 10, 2024
1 parent d47ed37 commit 664eaa7
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm install
- run: npm run build
- uses: actions/cache@v3
with:
path: |
./action.yml
./dist
key: ${{ hashFiles('./dist/**') }}
coverage:
runs-on: ubuntu-latest
steps:
Expand All @@ -11,17 +23,19 @@ jobs:
uses: jpb06/jest-badges-action@latest
with:
branches: main
action:
generate-private-key:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm install
- run: npm run build
- name: Generate Private Key
id: private_key
- uses: actions/cache@v3
with:
path: |
./action.yml
./dist
key: ${{ hashFiles('./dist/**') }}
- id: generate_private_key
uses: ./
with:
transmute: |
jose keygen --alg ES256 --verbose
- name: Log Private Key
run: echo "${{ steps.private_key.outputs.json }}"
- run: echo "${{ steps.generate_private_key.outputs.json }}"

0 comments on commit 664eaa7

Please sign in to comment.