diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0f97529..d4c5219 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,7 +59,7 @@ jobs: yarn test:coverage - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4.0.1 with: token: ${{ secrets.CODECOV_TOKEN }} flags: ${{ runner.os }} @@ -69,7 +69,7 @@ jobs: id: slack uses: wingify/slack-github-action@v1.15.1-wingify with: - channel-id: 'fs-review-team' # team-testing-serverside + channel-id: 'vwo-fs-fme-sdk-job-status' slack-message: " Node.js FME SDK Test on *Node-${{ matrix.node_version }}* and *${{ matrix.os }}* got *${{job.status}}* ${{job.status == 'success' && ':heavy_check_mark:' || ':x:'}} \nCommit: `${{github.event.head_commit.message}}`. \nCheck the latest build: https://github.com/wingify/vwo-node-sdk/actions" color: "${{job.status == 'success' && '#00FF00' || '#FF0000'}}" env: diff --git a/.github/workflows/typedoc.yml b/.github/workflows/typedoc.yml new file mode 100644 index 0000000..db0d86c --- /dev/null +++ b/.github/workflows/typedoc.yml @@ -0,0 +1,30 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' + + - name: Install dependencies + run: yarn install + + - name: Build + run: yarn typedoc + + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: docs