Skip to content

Commit

Permalink
install node
Browse files Browse the repository at this point in the history
  • Loading branch information
ccataalin authored Jul 31, 2024
1 parent 6189628 commit 5df5852
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/run-types-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,24 @@ jobs:
- uses: actions/checkout@v3
- name: Building CKAN docker image
run: docker-compose build ckan

- name: Spinning up docker-compose stack
run: |
docker-compose up -d
sleep 10
- name: Installing HDX/CKAN PY3 dev-requirements
run: docker-compose exec -T ckan pip install -r /srv/ckan/dev-requirements.txt

- name: Install Node.js and npm
run: |
docker-compose exec -T ckan bash -c "
curl -sL https://deb.nodesource.com/setup_22.x | bash -
apt-get install -y nodejs
npm install -g npm
"
- name: Install node deps
run: docker-compose exec -T ckan npm ci
run: docker-compose exec -T ckan npm ci --prefix /srv/ckan

- name: Check types
run: docker-compose exec -T ckan npx pyright
run: docker-compose exec -T ckan npx pyright /srv/ckan

0 comments on commit 5df5852

Please sign in to comment.