remove nodejs from CI
Some checks failed
/ test_checkout (push) Failing after 36s

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2024-03-14 17:03:29 +01:00
parent 17ac2d427b
commit 62a6b31697
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2

View file

@ -5,12 +5,18 @@ jobs:
container:
image: rust:slim-bookworm
steps:
- run: apt-get update -y && apt-get install -y nodejs git curl
- run: apt-get update -y && apt-get install -y git curl
- run: |
curl -L https://github.com/trunk-rs/trunk/releases/download/v0.19.1/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
mv trunk /
- run: rustup target add wasm32-unknown-unknown
- uses: https://code.forgejo.org/actions/checkout@v3
- run: |
TOKEN=$(echo -n "x-access-token:${GITHUB_TOKEN}" | base64)
mkdir -p "${GITHUB_WORKSPACE}"
cd "${GITHUB_WORKSPACE}"
git init
git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
git -c http.extraHeader="Authorization: Basic ${TOKEN}" fetch origin "${GITHUB_SHA}"
- run: /trunk build --release --public-url '.'
- run: |
cd dist