Skip to content

chore(release): 1.1.0 #11

chore(release): 1.1.0

chore(release): 1.1.0 #11

Workflow file for this run

name: test
on:
- push
- pull_request
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install
run: npm install
- name: Run lint
run: npm run lint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install
run: npm install
- name: Run typecheck
run: npm run typecheck
tests-main:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version:
- 20.10.0
- 21.x
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Run tests
run: npm test main
env:
GCS_KEY: ${{ secrets.GCS_KEY }}
GCS_BUCKET: drive-gcs
GCS_FINE_GRAINED_ACL_BUCKET: drive-gcs-no-uniform-acl
tests-gcs:
runs-on: ${{ matrix.os }}
concurrency:
group: gcs
strategy:
matrix:
os: [ubuntu-latest]
node-version:
- 21.x
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Run tests
run: npm test gcs
env:
GCS_KEY: ${{ secrets.GCS_KEY }}
GCS_BUCKET: drive-gcs
GCS_FINE_GRAINED_ACL_BUCKET: drive-gcs-no-uniform-acl
tests-s3:
runs-on: ${{ matrix.os }}
concurrency:
group: s3
strategy:
matrix:
os: [ubuntu-latest]
node-version:
- 21.x
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Run tests
run: npm test s3
env:
S3_SERVICE: do
S3_BUCKET: testing-flydrive
S3_ACCESS_KEY: ${{ secrets.DO_ACCESS_KEY }}
S3_ACCESS_SECRET: ${{ secrets.DO_ACCESS_SECRET }}
S3_ENDPOINT: https://sgp1.digitaloceanspaces.com
S3_REGION: sgp1
S3_CDN_URL: https://testing-flydrive.sgp1.cdn.digitaloceanspaces.com
tests-r2:
runs-on: ${{ matrix.os }}
concurrency:
group: r2
strategy:
matrix:
os: [ubuntu-latest]
node-version:
- 21.x
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Run tests
run: npm test s3
env:
S3_SERVICE: r2
S3_BUCKET: testing-flydrive
S3_ACCESS_KEY: ${{ secrets.R2_ACCESS_KEY }}
S3_ACCESS_SECRET: ${{ secrets.R2_ACCESS_SECRET }}
S3_ENDPOINT: https://b7d56a259a224b185a70dd6e6f77d9c3.r2.cloudflarestorage.com
S3_CDN_URL: https://pub-7bacaefbafa643faa5799c5bf17a5b3d.r2.dev
S3_REGION: auto