Skip to content

Bump postcss from 8.4.21 to 8.4.31 #75

Bump postcss from 8.4.21 to 8.4.31

Bump postcss from 8.4.21 to 8.4.31 #75

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [14, 16, 18]
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Update APT
if: matrix.os == 'ubuntu-latest'
run: sudo apt update
- name: Install OS dependencies
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install gcc-11 g++-11 lcov
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 110 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-11
- name: Display versions
if: matrix.os == 'ubuntu-latest'
run: |
g++ --version
lcov --version
- name: Print number of CPUs
if: matrix.os == 'ubuntu-latest'
run: nproc
- name: Print number of CPUs
if: matrix.os == 'macos-latest'
run: sysctl -n hw.logicalcpu
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Reconfigure git to use HTTPS
run: git config --global url.https://github.com/.insteadOf ssh://[email protected]/
- name: Install packages
run: npm ci
- name: Lint
if: matrix.os == 'ubuntu-latest'
run: npx grunt lint
- name: Coverage
if: matrix.os == 'ubuntu-latest'
run: npm run coverage
- name: Coveralls
if: matrix.os == 'ubuntu-latest'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage/lcov_final.info
- name: Test
if: matrix.os == 'macos-latest'
run: npx grunt test