Bump braces from 3.0.2 to 3.0.3 (#97) #428
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: ["**"] | |
concurrency: | |
group: ${{ github.event.pull_request && format('ci-pr-{0}', github.event.pull_request.number) || 'ci-push-main' }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Setup environment" | |
uses: ./.github/actions/setup-env | |
- name: "Resolve version" | |
id: version | |
shell: bash | |
run: | | |
echo "version=$(node -e "console.log(require('./package.json').version);")" >> $GITHUB_OUTPUT | |
- name: "Build and Pack" | |
run: yarn build:prod && yarn pack:extension | |
- name: "Test" | |
run: yarn test | |
- name: "Upload vsix (Ubuntu only)" | |
if: matrix.os == 'ubuntu-latest' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: vscode_diff_viewer_v${{ steps.version.outputs.version }} | |
path: dist/vscode_diff_viewer_v${{ steps.version.outputs.version }}.vsix |