Skip to content

update axios version #3941

update axios version

update axios version #3941

Workflow file for this run

name: Seahub Test CI
on:
pull_request:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: "3.8"
- name: apt install
run: |
sudo apt-get update --fix-missing
sudo apt-get install -y libevent-dev libcurl4-openssl-dev libglib2.0-dev
sudo apt-get install -y uuid-dev intltool libsqlite3-dev build-essential
sudo apt-get install -y libarchive-dev libtool libjansson-dev valac
sudo apt-get install -y libfuse-dev cmake re2c flex sqlite3
sudo apt-get install -y libssl-dev libsasl2-dev libldap2-dev libonig-dev
sudo apt-get install -y libxml2 libxml2-dev libjwt-dev
- name: clone and build
run: |
git clone --depth=1 --branch=master https://github.com/haiwen/seafile-test-deploy /tmp/seafile-test-deploy
cd /tmp/seafile-test-deploy && git fetch origin master:master && git checkout master
./bootstrap.sh
- name: pip install
run: |
cd $GITHUB_WORKSPACE
pip install -r test-requirements.txt
sudo rm -rf /usr/lib/python3/dist-packages/pytz/
- name: run pytest
run: |
cd $GITHUB_WORKSPACE
export CCNET_CONF_DIR=/tmp/ccnet SEAFILE_CONF_DIR=/tmp/seafile-data TRAVIS=1
if ./tests/test_seahub_changes.sh; then ./tests/seahubtests.sh init && ./tests/seahubtests.sh runserver && ./tests/seahubtests.sh test; else true; fi
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: run npm lint
run: |
cd $GITHUB_WORKSPACE/tests/
chmod +x github_actions_npm_lint.sh
./github_actions_npm_lint.sh