Skip to content

Commit 4737831

Browse files
author
Shayan Ahmadi
committed
install cedar deps from npm
Signed-off-by: Shayan Ahmadi <shayandi@amazon.com>
1 parent 7bcfc26 commit 4737831

File tree

5 files changed

+3
-22
lines changed

5 files changed

+3
-22
lines changed

.github/actions/authorizer-dep-setup/action.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/canary-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232

3333
steps:
3434
- uses: actions/checkout@v3
35-
- uses: ./.github/actions/authorizer-dep-setup
3635
- run: npm ci
3736
- run: npm run build
3837
- name: Install sample app dependencies

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ env:
1616
COGNITO_TEST_PASSWORD: ${{ secrets.COGNITO_TEST_PASSWORD }}
1717
COGNITO_CLIENT_SECRET: ${{ secrets.COGNITO_CLIENT_SECRET }}
1818
AWS_REGION: ${{ vars.AWS_REGION }}
19-
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
2019
ISSUER_URI: ${{ secrets.ISSUER_URI }}
2120
JWKS_URI: ${{ secrets.JWKS_URI }}
2221

@@ -42,7 +41,6 @@ jobs:
4241
run: |
4342
git secrets --scan-history
4443
45-
- uses: ./.github/actions/authorizer-dep-setup
4644
- run: npm ci
4745
- name: Build the library
4846
run: npm run build
@@ -56,7 +54,6 @@ jobs:
5654

5755
steps:
5856
- uses: actions/checkout@v3
59-
- uses: ./.github/actions/authorizer-dep-setup
6057
- run: npm ci
6158
- run: npm run build
6259
- name: Install sample app dependencies
@@ -84,7 +81,6 @@ jobs:
8481

8582
steps:
8683
- uses: actions/checkout@v3
87-
- uses: ./.github/actions/authorizer-dep-setup
8884
- run: npm ci
8985
- run: npm run build
9086
- name: Install sample app dependencies

examples/finish/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"license": "ISC",
1717
"description": "A simple Express.js API for a pet store",
1818
"dependencies": {
19-
"@cedar-policy/cedar-authorization": "file:../../../cedar-authorization",
20-
"@cedar-policy/authorization-for-expressjs": "file:../..",
19+
"@cedar-policy/cedar-authorization": "^0.1.0",
20+
"@cedar-policy/authorization-for-expressjs": "^0.1.0",
2121
"body-parser": "^2.2.0",
2222
"express": "^5.1.0",
2323
"jsonwebtoken": "^9.0.2",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"homepage": "https://github.com/cedar-policy/authorization-for-expressjs#readme",
3232
"dependencies": {
33-
"@cedar-policy/cedar-authorization": "file://../cedar-authorization",
33+
"@cedar-policy/cedar-authorization": "^0.1.0",
3434
"@cedar-policy/cedar-wasm": "^4.4.0",
3535
"express": "^5.1.0",
3636
"path-to-regexp": "^8.2.0"

0 commit comments

Comments
 (0)