Skip to content

Commit

Permalink
Merge pull request #6 from MIERUNE/test
Browse files Browse the repository at this point in the history
Enable test workflow
  • Loading branch information
ciscorn authored Sep 27, 2024
2 parents 0a5ab90 + 9559f5c commit 5b1f04e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 21 deletions.
28 changes: 7 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: Test

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm install
- run: pnpm test-with-emulator
env:
CI: true
Expand All @@ -26,25 +26,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm lint-fix
- run: pnpm prettier
- name: Auto commit fixed code
id: auto-commit-action
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply auto lint-fix changes
branch: ${{ github.head_ref }}
- name: eslint
if: steps.auto-commit-action.outputs.changes_detected == 'false'
uses: reviewdog/action-eslint@v1
with:
level: warning
reporter: github-pr-review
- run: pnpm install
- run: pnpm lint
- run: pnpm prettier:check
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# firebase-auth-cloudflare-workers-x509

![NPM Version](https://img.shields.io/npm/v/firebase-auth-cloudflare-workers-x509)

[![Test](https://github.com/MIERUNE/firebase-auth-cloudflare-workers-x509/actions/workflows/ci.yml/badge.svg)](https://github.com/MIERUNE/firebase-auth-cloudflare-workers-x509/actions/workflows/ci.yml)

A fork of <https://github.com/Code-Hex/firebase-auth-cloudflare-workers>

- Use X.509 certificate endpoints instead of JWK endpoints, as the original firebase-admin also uses X.509. The JWK endpoint presents issues due to the `no-cache` on the public key response for session cookies.
Expand Down

0 comments on commit 5b1f04e

Please sign in to comment.