Bump sass from 1.82.0 to 1.83.0 (#6276) #2104
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: test | |
on: | |
# Run on PRs and pushes to the default branch. | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: "0 0 * * 0" | |
# Declare default permissions as read only. | |
permissions: read-all | |
env: | |
# Keep for Dart SDK reporting | |
PUB_ENVIRONMENT: bot.github | |
# LTS | |
NODE_VERSION: '20' | |
# Tool location | |
BASE_DIR: ${{ github.workspace }} | |
TOOL_DIR: ${{ github.workspace }}/tool | |
jobs: | |
test: | |
name: Analyze and test code examples | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- sdk: beta | |
experimental: false | |
- sdk: stable | |
experimental: false | |
continue-on-error: ${{ matrix.experimental }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
submodules: recursive | |
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | |
with: | |
sdk: ${{ matrix.sdk }} | |
- name: Fetch Dart packages | |
run: dart pub get | |
- name: Check Dart code formatting | |
run: dart run dart_site format-dart --check | |
- name: Analyze Dart code | |
run: dart run dart_site analyze-dart | |
- name: Run Dart tests | |
run: dart run dart_site test-dart | |
excerpts: | |
name: Check if code excerpts are up to date | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
submodules: recursive | |
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | |
with: | |
sdk: stable | |
- name: Fetch Dart packages | |
run: dart pub get | |
- name: Check if excerpts are up to date | |
run: dart run dart_site refresh-excerpts --fail-on-update --dry-run | |
linkcheck: | |
name: Build site and check links | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
submodules: recursive | |
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | |
with: | |
sdk: stable | |
- name: Fetch Dart packages | |
run: dart pub get | |
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: 'pnpm' | |
- name: Install node dependencies | |
run: pnpm install | |
- name: Build site | |
run: dart run dart_site build | |
- name: Check for broken Markdown links | |
run: dart run dart_site check-link-references | |
- name: Check internal site links are functional | |
run: dart run dart_site check-links | |
site-variable-scanner: | |
name: Check if text can be replaced with site variables | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
submodules: recursive | |
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | |
with: | |
sdk: stable | |
- name: Fetch Dart packages | |
run: dart pub get | |
- name: Check if text can be replaced with site variables | |
run: dart run dart_site check-site-variable | |
firebase-validate: | |
name: Validate Firebase configuration | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
submodules: recursive | |
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | |
with: | |
sdk: stable | |
- name: Fetch Dart packages | |
run: dart pub get | |
- name: Validate the firebase.json file | |
run: dart run dart_site verify-firebase-json |