Skip to content

build(deps): update dependency stylelint-config-standard-scss to v11 … #194

build(deps): update dependency stylelint-config-standard-scss to v11 …

build(deps): update dependency stylelint-config-standard-scss to v11 … #194

Workflow file for this run

name: Node.js CI
on:
workflow_dispatch:
pull_request:
branches: [main]
paths:
- '**.ts'
- '**/package.json'
- 'pnpm-lock.yaml'
- '.github/workflows/*.yml'
push:
branches: [main]
paths:
- '**.ts'
- '**/package.json'
- 'pnpm-lock.yaml'
- '.github/workflows/*.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
ci:
name: Node.js CI
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Setup Node environment
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: 16
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Run build
run: pnpm build
- name: Run test
run: pnpm test