Skip to content

Bump to v1.1.1

Bump to v1.1.1 #29

Workflow file for this run

name: CI
on:
push:
paths:
- 'src/**'
- 'test/**'
branches:
- main
- dev
workflow_dispatch:
jobs:
unit-test:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- uses: pnpm/action-setup@v3
with:
version: ^9.7.0
run_install: true
- run: pnpm test:unit-test
upload-test:
name: Run upload test
needs: unit-test
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- uses: pnpm/action-setup@v3
with:
version: ^9.7.0
run_install: true
- env:
TEST_ADDON_GUID: ${{ secrets.TEST_ADDON_GUID }}
TEST_JWT_ISSUER: ${{ secrets.TEST_JWT_ISSUER }}
TEST_JWT_SECRET: ${{ secrets.TEST_JWT_SECRET }}
run: pnpm test:upload
publish:
name: Publish action
needs:
- unit-test
- upload-test
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- uses: wdzeng/action-of-action@v4