build(deps-dev): bump sass from 1.62.1 to 1.64.0 #623
Workflow file for this run
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
on: push | |
name: Validate | |
jobs: | |
# fixup: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# with: | |
# fetch-depth: 0 | |
# - uses: ianwremmel/[email protected] | |
# nopush: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# with: | |
# fetch-depth: 0 | |
# - uses: ianwremmel/[email protected] | |
chromatic: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: actions/[email protected] | |
env: | |
cache-name: cache-node-modules | |
with: | |
# npm cache files are stored in `~/.npm` on Linux/macOS | |
path: ~/.npm | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- run: npm ci | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
- run: npx --no-install chromatic --exit-zero-on-changes --project-token=${{ secrets.CHROMATIC_TOKEN }} | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
- run: echo '::warning title=Please rerun this workflow::Dependabot cannot access secrets on its own.' | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: actions/[email protected] | |
env: | |
cache-name: cache-node-modules | |
with: | |
# npm cache files are stored in `~/.npm` on Linux/macOS | |
path: ~/.npm | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- run: npm ci | |
- run: npm run lint | |
env: | |
ESLINT_FORMAT_OPTIONS: '--format json-with-metadata --output-file reports/style/eslint.json' | |
TSC_OPTIONS: '| tee reports/style/tsc.log' | |
- uses: check-run-reporter/[email protected] | |
if: ${{ always() }} | |
with: | |
token: '62f20048-075b-4fef-b858-e16790015077' | |
label: ESLint | |
report: 'reports/style/eslint.json' | |
- uses: check-run-reporter/[email protected] | |
if: ${{ always() }} | |
with: | |
token: '62f20048-075b-4fef-b858-e16790015077' | |
label: TSC | |
report: 'reports/style/tsc.log' | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: actions/[email protected] | |
env: | |
cache-name: cache-node-modules | |
with: | |
# npm cache files are stored in `~/.npm` on Linux/macOS | |
path: ~/.npm | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- run: npm ci | |
- run: npm test | |
- uses: check-run-reporter/[email protected] | |
if: ${{ always() }} | |
with: | |
token: '62f20048-075b-4fef-b858-e16790015077' | |
label: Unit Tests | |
report: 'reports/junit/**/*.xml' | |
release: | |
needs: | |
- chromatic | |
# - fixup | |
- lint | |
# - nopush | |
- test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: actions/[email protected] | |
env: | |
cache-name: cache-node-modules | |
with: | |
# npm cache files are stored in `~/.npm` on Linux/macOS | |
path: ~/.npm | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- run: npm ci | |
- run: npx semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |