Bump word-wrap from 1.2.3 to 1.2.4 #57
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: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
fail-fast: false # to see how the tests pan out on all platforms | |
matrix: | |
node-version: [16] | |
os: [windows-latest, macos-latest, ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: NPM Install | |
run: npm install | |
- run: npm run compile | |
- name: Run extension integration tests in head-less VS Code | |
if: success() | |
uses: GabrielBB/[email protected] | |
with: | |
run: npm test | |
- name: Package extension | |
if: success() | |
run: | | |
npm install -g vsce | |
vsce package | |
publish: | |
needs: build | |
runs-on: ubuntu-latest | |
if: success() && github.ref == 'refs/heads/master' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- name: NPM Install | |
run: npm install | |
- name: Publish extension to marketplace | |
run: | | |
npm install -g vsce | |
vsce publish -p $VSCE_TOKEN | |
env: | |
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }} | |
continue-on-error: true |