Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): add github action to upload dev release #403

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Build

on:
pull_request:
types:
- labeled

permissions:
id-token: write
contents: read

env:
AWS_ROLE: ${{ secrets.awsIAMS3UploadRole }}

jobs:
build-and-deploy:
if: github.event.label.name == 'dev-deploy'
runs-on: ubuntu-latest

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

- name: Checkout auth0-extensions-cli
uses: actions/checkout@v4
with:
repository: auth0-extensions/auth0-extensions-cli
path: auth0-extensions-cli

- uses: actions/setup-node@v4
with:
node-version: '22'

- name: Link auth0-extensions-cli
run: |
cd auth0-extensions-cli
npm link

- name: Install Dependencies
run: npm ci

- name: Build extension
run: |
npm link auth0-extensions-cli
npm run build

# - name: Configure AWS Credentials using OIDC
# uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4 on 2025-01-06
# with:
# role-to-assume: ${{ env.AWS_ROLE }}
# role-session-name: github-action-account-link-extension-publish
# aws-region: us-west-1
#
# - name: Run Deploy
# run: sh tools/cdn.sh
2 changes: 2 additions & 0 deletions build/bundle.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/auth0-authz.extension.2.13.0.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions dist/auth0-authz.extension.2.13.0.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
9 changes: 9 additions & 0 deletions dist/auth0-authz.ui.2.13.0.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/auth0-authz.ui.2.13.0.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions dist/auth0-authz.ui.2.13.0.js

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions dist/auth0-authz.ui.2.13.0.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*!
Copyright (c) 2016 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/*!
* Programatically add the following
*/

/*!
* Programatically add the following
*/

/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/

/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/

/*!
* deep-diff.
* Licensed under the MIT License.
*/

/*! https://mths.be/punycode v1.4.1 by @mathias */

/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */

/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
1 change: 1 addition & 0 deletions dist/auth0-authz.ui.2.13.0.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/auth0-authz.ui.vendors.2.13.0.js

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions dist/auth0-authz.ui.vendors.2.13.0.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/

/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/

/** @license React v15.7.0
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

//! moment.js

//! moment.js locale configuration
1 change: 1 addition & 0 deletions dist/auth0-authz.ui.vendors.2.13.0.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"app":"auth0-authz.ui.2.13.0.js","style":"auth0-authz.ui.2.13.0.css","vendors":"auth0-authz.ui.vendors.2.13.0.js"}
Loading