add import linter job in GH Actions #148
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Release | |
on: | |
push: | |
branches: ["*"] | |
pull_request: | |
branches: ["*"] | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
check_release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup environment | |
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 | |
with: | |
python_version: "3.11.x" | |
- name: Check Release | |
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version_spec: minor | |
- name: Runner debug info | |
if: always() | |
run: | | |
echo "Node version: $(node --version)" | |
echo "NPM version: $(npm --version)" | |
echo "jlpm version: $(jlpm --version)" | |
echo "Yarn version: $(yarn --version)" | |
echo "Python version: $(python --version)" |