diff --git a/.github/actions/authorizer-dep-setup/action.yml b/.github/actions/authorizer-dep-setup/action.yml deleted file mode 100644 index 4f63611..0000000 --- a/.github/actions/authorizer-dep-setup/action.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: 'Setup Authorizer Dependencies' - -runs: - using: "composite" - steps: - - name: Clone and build dependencies - shell: bash - run: | - cd .. - # Clone and build Cedar-Authorization - git clone https://${{ env.REPO_ACCESS_TOKEN }}@github.com/cedar-policy/cedar-authorization.git - cd cedar-authorization - npm install - npm run build \ No newline at end of file diff --git a/.github/workflows/canary-tests.yml b/.github/workflows/canary-tests.yml index f892520..f6feddd 100644 --- a/.github/workflows/canary-tests.yml +++ b/.github/workflows/canary-tests.yml @@ -32,7 +32,6 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: ./.github/actions/authorizer-dep-setup - run: npm ci - run: npm run build - name: Install sample app dependencies diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a4a619..95eac7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,6 @@ env: COGNITO_TEST_PASSWORD: ${{ secrets.COGNITO_TEST_PASSWORD }} COGNITO_CLIENT_SECRET: ${{ secrets.COGNITO_CLIENT_SECRET }} AWS_REGION: ${{ vars.AWS_REGION }} - REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} ISSUER_URI: ${{ secrets.ISSUER_URI }} JWKS_URI: ${{ secrets.JWKS_URI }} @@ -42,7 +41,6 @@ jobs: run: | git secrets --scan-history - - uses: ./.github/actions/authorizer-dep-setup - run: npm ci - name: Build the library run: npm run build @@ -56,7 +54,6 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: ./.github/actions/authorizer-dep-setup - run: npm ci - run: npm run build - name: Install sample app dependencies @@ -84,7 +81,6 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: ./.github/actions/authorizer-dep-setup - run: npm ci - run: npm run build - name: Install sample app dependencies diff --git a/examples/finish/package.json b/examples/finish/package.json index 68424f1..9913d7c 100644 --- a/examples/finish/package.json +++ b/examples/finish/package.json @@ -16,8 +16,8 @@ "license": "ISC", "description": "A simple Express.js API for a pet store", "dependencies": { - "@cedar-policy/cedar-authorization": "file:../../../cedar-authorization", - "@cedar-policy/authorization-for-expressjs": "file:../..", + "@cedar-policy/cedar-authorization": "^0.1.0", + "@cedar-policy/authorization-for-expressjs": "^0.1.0", "body-parser": "^2.2.0", "express": "^5.1.0", "jsonwebtoken": "^9.0.2", diff --git a/package.json b/package.json index 7d28a6c..b1fbe56 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ }, "homepage": "https://github.com/cedar-policy/authorization-for-expressjs#readme", "dependencies": { - "@cedar-policy/cedar-authorization": "file://../cedar-authorization", + "@cedar-policy/cedar-authorization": "^0.1.0", "@cedar-policy/cedar-wasm": "^4.4.0", "express": "^5.1.0", "path-to-regexp": "^8.2.0"