Replace npm with deno for release-it #93
Workflow file for this run
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: runbook tests and stuff | |
on: [push] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
# Export env vars for later steps, normal export doesn't work | |
- run: echo PATH=./.hermit/bin:$PATH >> $GITHUB_ENV | |
# Setup the working dir to run runbook commands | |
- run: echo WORKING_DIR="$(mktemp -d -t runbook-XXXX)" >> $GITHUB_ENV | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: initialize folders | |
# Runbook command comes from .hermit/bin/runbook | |
run: runbook init --skip-confirmation=true | |
- name: Black formatting | |
run: pre-commit run black | |
- name: jupytext hook | |
run: pre-commit run jupytext | |
- name: isort hook | |
run: pre-commit run isort | |
- name: autoflake hook | |
run: pre-commit run autoflake | |
- run: just test | |
- run: echo "🍏 This job's status is ${{ job.status }}." |