Skip to content

Bump sass from 1.94.2 to 1.97.1 #2942

Bump sass from 1.94.2 to 1.97.1

Bump sass from 1.94.2 to 1.97.1 #2942

Workflow file for this run

# This workflow uses actions that are not certified by GitHub. They are
# provided by a third-party and are governed by separate terms of service,
# privacy policy, and support documentation.
#
# This workflow will install a prebuilt Ruby version, install dependencies, and
# run tests and linters.
name: "Tests"
on:
push:
branches: [main, main-rails]
pull_request:
branches: [main, main-rails]
merge_group:
types: [checks_requested]
permissions:
contents: read
jobs:
build_and_test:
runs-on: ubuntu-latest
env:
RAILS_ENV: "test"
steps:
- name: Checkout code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
# Add or replace dependency steps here
- name: Install Ruby and gems
# The ruby version is taken from the .ruby-version file, no need to specify here.
uses: ruby/setup-ruby@f8d7259c7a66155a7c4a157a1a10ca601f186594 # v1.271.0
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Install Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Install frontend dependencies
run: npm ci
- name: Run Frontend build
run: bin/vite build
# Add or replace test runners here
- name: Run Ruby tests
run: bundle exec rspec
- name: Run JavaScript tests
run: npm test
# Add or replace any other lints here
- name: Security audit dependencies
run: bundle exec bundle-audit check --update
- name: Security audit application code
run: bundle exec brakeman -q -w2
- name: Lint Ruby files
run: bundle exec rubocop --parallel
- name: Lint Javascript files
run: npm run lint