Skip to content

Commit a6cd9be

Browse files
committed
feat: add step to ensure libatomic is installed and update cache action versions
1 parent 4657233 commit a6cd9be

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/actions/node-setup/action.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ runs:
1111
using: composite
1212
steps:
1313

14+
# pnpm's standalone binary is linked against libatomic, which this
15+
# runner's image doesn't ship (tracked with infra).
16+
- name: Ensure libatomic is installed
17+
shell: bash
18+
run: |
19+
if ! ldconfig -p | grep -q libatomic.so.1; then
20+
sudo apt-get update
21+
sudo apt-get install -y libatomic1
22+
fi
23+
1424
- name: Setup pnpm
1525
uses: pnpm/action-setup@v6
1626

0 commit comments

Comments
 (0)