diff --git a/.github/workflows/positron.yaml b/.github/workflows/positron.yaml index 4e47647d2..e8d202109 100644 --- a/.github/workflows/positron.yaml +++ b/.github/workflows/positron.yaml @@ -18,9 +18,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18.x - - run: just positron install - - run: just positron lint - - run: just positron test + - run: just positron ci docker: runs-on: ubuntu-latest steps: @@ -28,6 +26,4 @@ jobs: with: fetch-depth: 0 - uses: ./.github/actions/setup - - run: just positron install - - run: just positron lint - - run: just positron test + - run: just positron ci diff --git a/extensions/positron/justfile b/extensions/positron/justfile index 40efc51aa..e0fae0c1d 100644 --- a/extensions/positron/justfile +++ b/extensions/positron/justfile @@ -12,12 +12,14 @@ _with_debug := if _debug == "true" { "" } -default: +# Executes continuous integration workflow (i.e., this is what GitHub Actions uses) +ci: #!/usr/bin/env bash set -eou pipefail {{ _with_debug }} just install + just lint just test # Deletes ephemeral project files (i.e., cleans the project). @@ -28,6 +30,14 @@ clean: rm -rf node_modules +default: + #!/usr/bin/env bash + set -eou pipefail + {{ _with_debug }} + + just install + just test + # Install dependencies install: