@@ -74,32 +74,32 @@ jobs:
7474 ${{ runner.os }}-composer-
7575
7676 - name : Install dependencies
77- run : nix-shell --run 'npm run install-dependencies'
77+ run : nix-shell -A ci - -run 'npm run install-dependencies'
7878
7979 - name : Check front-end code
8080 if : matrix.lint
81- run : nix-shell --run 'npm run check:client'
81+ run : nix-shell -A ci - -run 'npm run check:client'
8282
8383 - name : Check syntax of back-end code
84- run : nix-shell --run 'npm run check:server:lint'
84+ run : nix-shell -A ci - -run 'npm run check:server:lint'
8585
8686 - name : Lint back-end code
8787 if : matrix.lint
88- run : nix-shell --run 'npm run check:server:cs'
88+ run : nix-shell -A ci - -run 'npm run check:server:cs'
8989
9090 - name : Lint helper code
9191 if : matrix.lint
92- run : nix-shell --run 'npm run check:helpers:cs'
92+ run : nix-shell -A ci - -run 'npm run check:helpers:cs'
9393
9494 - name : Run unit tests
95- run : nix-shell --run 'npm run test:server'
95+ run : nix-shell -A ci - -run 'npm run test:server'
9696
9797 - name : Analyse back-end code
9898 if : matrix.phpstan
99- run : nix-shell --run 'npm run check:server:phpstan'
99+ run : nix-shell -A ci - -run 'npm run check:server:phpstan'
100100
101101 - name : Run integration tests
102- run : SELFOSS_TEST_STORAGE_BACKEND=${{ matrix.storage }} nix-shell --run 'npm run test:integration'
102+ run : SELFOSS_TEST_STORAGE_BACKEND=${{ matrix.storage }} nix-shell -A ci - -run 'npm run test:integration'
103103
104104 deploy :
105105 name : ' Upload artefacts'
@@ -141,7 +141,7 @@ jobs:
141141 - name : Build a zipball
142142 id : zipball
143143 run : |
144- nix-shell --run 'npm run dist'
144+ nix-shell -A ci - -run 'npm run dist'
145145 echo "file_name=$(echo selfoss-*.zip)" >> "$GITHUB_OUTPUT"
146146 echo "version=$(echo selfoss-*.zip | sed -e 's/^selfoss-//' -e 's/\.zip$//')" >> "$GITHUB_OUTPUT"
147147
0 commit comments