Skip to content

Bump semver from 7.6.0 to 7.6.1 #958

Bump semver from 7.6.0 to 7.6.1

Bump semver from 7.6.0 to 7.6.1 #958

Workflow file for this run

# Continuous integration workflow
name: CI
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
run:
name: CI
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system:
- ubuntu-22.04
#- windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup latest GCC and build dependencies
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt update
sudo apt install gcc-13 g++-13
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 110 --slave /usr/bin/g++ g++ /usr/bin/g++-13 --slave /usr/bin/gcov gcov /usr/bin/gcov-13 --slave /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-13 --slave /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-13
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
- name: npm install
run: npm install
- name: Lint
run: npm run format-check
if: startsWith(matrix.operating-system, 'ubuntu')
- name: npm test
run: npm test
- name: Setup Spice - Linux
if: startsWith(matrix.operating-system, 'ubuntu')
run: npm run start
- name: Setup Spice - Windows
if: startsWith(matrix.operating-system, 'ubuntu')
run: npm run start:win
- name: Compile test file
working-directory: media
run: spice run ./test-file.spice
- name: audit packages
run: npm audit --audit-level=high
if: matrix.operating-system == 'ubuntu-latest'