Skip to content

Commit

Permalink
ci: Add check-release workflow from jupyter-releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
mahendrapaipuri committed Oct 13, 2023
1 parent c6e7546 commit 2c85bf5
Show file tree
Hide file tree
Showing 7 changed files with 9,728 additions and 4,407 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Check Release
on:
push:
branches: [master, main]
pull_request:
branches:
- '*'

permissions:
contents: write

jobs:
check_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Check Release
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Distributions
uses: actions/upload-artifact@v2
with:
name: jupyter-resource-usage-releaser-dist-${{ github.run_number }}
path: .jupyter_releaser_checkout/dist
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ demo/get_started.ipynb
# Test related files
*.coverage*
*.xml

# Ignore node_modules and yarn cache
node_modules
.yarn

# Ignore jupyter-releaser related stuff
.jupyter_releaser_checkout
7 changes: 7 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"lerna": "3.10.7",
"npmClient": "jlpm",
"useWorkspaces": true,
"version": "independent",
"packages": ["packages/*"]
}
23 changes: 23 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "jupyterlab-jupytext-extensions",
"version": "1.3.9",
"private": true,
"files": [],
"workspaces": [
"packages/*"
],
"scripts": {
"build": "lerna run --parallel build",
"build-py": "rimraf dist && mkdir -p dist && lerna run --parallel clean:all && lerna exec --concurrency 4 -- python -m build && lerna exec --concurrency 4 -- mv ./dist/jupyterlab* ../../dist/",
"build:prod": "lerna run --parallel build:prod",
"install-ext": "lerna run build:labextension:dev",
"install-py": "lerna exec --concurrency 4 -- python -m pip install -e .",
"clean:all": "lerna run --parallel clean:all",
"update-dependency": "update-dependency --lerna",
"watch": "lerna run --parallel watch"
},
"devDependencies": {
"lerna": "^6.6.0",
"rimraf": "^3.0.2"
}
}
Loading

0 comments on commit 2c85bf5

Please sign in to comment.