Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing CI #8

Merged
merged 3 commits into from
Apr 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 41 additions & 40 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,54 +26,55 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Yarn
run: npm install -g npm@latest yarn@latest
run: npm install -g yarn@latest

- name: Install Dependencies
run: yarn

- name: build types
run: yarn build:types

- name: Get sample files
run: |-
mkdir tmp \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.mp3 https://filesamples.com/samples/audio/mp3/sample3.mp3 \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.wav https://freewavesamples.com/files/Ensoniq-ZR-76-01-Dope-77.wav \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.ogg https://upload.wikimedia.org/wikipedia/commons/c/c8/Example.ogg \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.doc https://filesamples.com/samples/document/doc/sample1.doc \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.docx https://filesamples.com/samples/document/docx/sample3.docx \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.xls https://filesamples.com/samples/document/xls/sample1.xls \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.xlsx https://filesamples.com/samples/document/xlsx/sample1.xlsx \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.ppt https://filesamples.com/samples/document/ppt/sample2.ppt \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.odt https://filesamples.com/samples/document/odt/sample1.odt \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.pdf https://filesamples.com/samples/document/pdf/sample2.pdf \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.rtf https://filesamples.com/samples/document/rtf/sample3.rtf \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.mpg https://filesamples.com/samples/video/mpg/sample_640x360.mpg \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.flv https://filesamples.com/samples/video/flv/sample_640x360.flv \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.3gp https://filesamples.com/samples/video/3gp/sample_640x360.3gp \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.mkv https://filesamples.com/samples/video/mkv/sample_640x360.mkv \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.swf https://filesamples.com/samples/video/swf/sample_640x360.swf \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.mp4 https://filesamples.com/samples/video/mp4/sample_640x360.mp4 \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.webm https://filesamples.com/samples/video/webm/sample_640x360.webm \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.wmv https://filesamples.com/samples/video/wmv/sample_640x360.wmv \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.avi https://filesamples.com/samples/video/avi/sample_640x360.avi \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.mov https://filesamples.com/samples/video/mov/sample_640x360.mov \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.bmp https://filesamples.com/samples/image/bmp/sample_640%C3%97426.bmp \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.avif http://sample-file.bazadanni.com/download/images/avif/sample.avif \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.webp https://filesamples.com/samples/image/webp/sample1.webp \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.png https://filesamples.com/samples/image/png/sample_640%C3%97426.png \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.jpg https://filesamples.com/samples/image/jpg/sample_640%C3%97426.jpg \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.tiff https://filesamples.com/samples/image/tiff/sample_640%C3%97426.tiff \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.gif https://filesamples.com/samples/image/gif/sample_640%C3%97426.gif \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.svg https://filesamples.com/samples/image/svg/sample_640%C3%97426.svg \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.ico https://filesamples.com/samples/image/ico/sample_640%C3%97426.ico \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.dib https://raw.githubusercontent.com/filestar/File-Type-Sample-Repository/master/dib/sample.dib \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.apk https://raw.githubusercontent.com/appium-boneyard/sample-code/master/sample-code/apps/ContactManager/ContactManager.apk \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.zip https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-zip-file.zip \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.rar https://getsamplefiles.com/download/rar/sample.rar \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.tgz https://getsamplefiles.com/download/gzip/sample.tgz \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.tar https://getsamplefiles.com/download/tar/sample.tar \
&& curl -H 'Cache-Control: no-cache' -sLko tmp/sample-0.jar.zip http://www.java2s.com/Code/JarDownload/sample/sample.jar.zip \
rm -rf tmp \
&& mkdir -p tmp \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.mp3 https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.mp3 \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.wav https://freewavesamples.com/files/Ensoniq-ZR-76-01-Dope-77.wav \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.ogg https://upload.wikimedia.org/wikipedia/commons/c/c8/Example.ogg \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.doc https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.doc \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.docx https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.docx \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.xls https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.xls \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.xlsx https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.xlsx \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.ppt https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.ppt \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.odt https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.odt \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.pdf https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.pdf \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.rtf https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.rtf \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.mpg https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.mpg \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.flv https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.flv \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.3gp https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.3gp \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.mkv https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.mkv \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.swf https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.swf \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.mp4 https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.mp4 \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.webm https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.webm \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.wmv https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.wmv \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.avi https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.avi \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.mov https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.mov \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.bmp https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.bmp \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.avif http://sample-file.bazadanni.com/download/images/avif/sample.avif \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.webp https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.webp \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.png https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.png \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.jpg https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.jpg \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.tiff https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.tiff \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.gif https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.gif \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.svg https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.svg \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.ico https://github.com/lutfailham96/filesig-test-files/raw/master/sample-0.ico \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.dib https://raw.githubusercontent.com/filestar/File-Type-Sample-Repository/master/dib/sample.dib \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.apk https://raw.githubusercontent.com/appium-boneyard/sample-code/master/sample-code/apps/ContactManager/ContactManager.apk \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.zip https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-zip-file.zip \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.rar https://getsamplefiles.com/download/rar/sample.rar \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.tgz https://getsamplefiles.com/download/gzip/sample.tgz \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.tar https://getsamplefiles.com/download/tar/sample.tar \
&& curl -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -sLko tmp/sample-0.jar.zip http://www.java2s.com/Code/JarDownload/sample/sample.jar.zip \
&& unzip tmp/sample-0.jar.zip -d tmp \
&& mv tmp/sample.jar tmp/sample-0.jar \
&& rm tmp/sample-0.jar.zip
Expand Down
Loading