refactor: unzip repo in memory #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install Dependencies | |
run: npm ci | |
- name: Build Registry | |
run: npm run build | |
- name: Run Test | |
env: | |
R2_HOSTNAME: ${{ secrets.TEST_R2_HOSTNAME }} | |
S3_ACCESS_KEY_ID: ${{ secrets.TEST_S3_ACCESS_KEY_ID }} | |
S3_BUCKET: ${{ secrets.TEST_S3_BUCKET }} | |
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }} | |
S3_SECRET_ACCESS_KEY: ${{ secrets.TEST_S3_SECRET_ACCESS_KEY }} | |
run: npm test |