Skip to content

chore: bump version to v0.8.7 #1177

chore: bump version to v0.8.7

chore: bump version to v0.8.7 #1177

Workflow file for this run

on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "latest"
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: "**/node_modules"
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package.json', '**/package-lock.json') }}
- name: Install dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm ci
- name: Lint
run: npm run lint
- name: Download foundryup
if: runner.os != 'Windows'
run: curl -L https://foundry.paradigm.xyz | bash
- name: Install foundry
if: runner.os != 'Windows'
run: ${XDG_CONFIG_HOME:-$HOME}/.foundry/bin/foundryup
- name: Build project
run: npm run build
- name: Run server tests
run: npm run test:codecov
- name: Run protocol tests
run: npm run test:protocol
- name: Cache VS Code client
id: cache-vscode
uses: actions/cache@v3
env:
cache-name: cache-vscode
with:
path: .vscode-test
key: ${{ runner.os }}-vscode-1.86.0
- name: Run E2E tests
uses: coactions/[email protected]
with:
run: npm run test:e2e
- name: Package the extension
env:
SOLIDITY_GA_SECRET: "dummy-value"
SOLIDITY_GOOGLE_TRACKING_ID: "dummy-value"
SOLIDITY_SENTRY_DSN: "dummy-value"
run: npm run package
- name: Publish code coverage
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./server/coverage/lcov.info # __LCOV_RESULTS_INFO_FILE__ (keep in sync)
disable_search: true