Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/std.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,25 @@ concurrency:
group: std-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-yarn-project-nix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nixbuild/nix-quick-install-action@v25
- uses: nixbuild/nixbuild-action@v17
with:
nixbuild_ssh_key: ${{ secrets.SSH_PRIVATE_KEY }}
generate_summary_for: job
# Further steps assume AWS_PROFILE=lw, while the official action has no way to specify that profile:
- run: |
if ! grep -F '"@esbuild/linux-x64@npm:' yarn-project.nix ; then
echo >&2 'Please, make sure that the "yarn-project.nix" contains "@esbuild/linux-x64@npm" (see your diff).'
exit 1
fi
shell: bash

discover:
needs: check-yarn-project-nix
# Don’t run on PRs from forks (no access to secrets):
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
outputs:
Expand Down
Loading