diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index 27474ef..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: publish - -on: - push: - branches: - - master - release: - types: - - created - -jobs: - build: - strategy: - matrix: - os: [macos-latest, ubuntu-latest, windows-latest] - runs-on: ${{ matrix.os }} - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Install Node.js - uses: actions/setup-node@v1 - with: - node-version: 18.x - - - run: npm install --global yarn - - - run: yarn - - - run: yarn run compile - - - run: xvfb-run -a yarn test - if: runner.os == 'Linux' - - - run: yarn test - if: runner.os != 'Linux' - - - name: Publish - if: success() && startsWith( github.ref, 'refs/tags/releases/') && matrix.os == 'ubuntu-latest' - run: yarn run deploy - env: - VSCE_PAT: ${{ secrets.VSCE_PAT }}