File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,24 @@ concurrency:
69
69
group : std-${{ github.workflow }}-${{ github.ref }}
70
70
cancel-in-progress : true
71
71
jobs :
72
+ check-yarn-project-nix :
73
+ runs-on : ubuntu-latest
74
+ steps :
75
+ - uses : actions/checkout@v4
76
+ with :
77
+ ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
78
+ - run : |
79
+ if ! grep -qF '"@esbuild/linux-x64@npm:' yarn-project.nix ; then
80
+ echo ' '
81
+ echo "Please, make sure that the 'yarn-project.nix' on $(git rev-parse HEAD) still contains '@esbuild/linux-x64@npm' (see your diff)."
82
+ echo ' '
83
+ echo "Its accidental removal can be caused by running 'yarn install' on macOS."
84
+ echo ' '
85
+ exit 1
86
+ fi
87
+
72
88
discover :
89
+ needs : check-yarn-project-nix
73
90
# Don’t run on PRs from forks (no access to secrets):
74
91
if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
75
92
outputs :
You can’t perform that action at this time.
0 commit comments