Skip to content

Bump postcss from 8.4.25 to 8.4.31 #542

Bump postcss from 8.4.25 to 8.4.31

Bump postcss from 8.4.25 to 8.4.31 #542

Workflow file for this run

name: 'Main action'
on: push
jobs:
prepare:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: '**/package-lock.json'
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
static-check:
timeout-minutes: 30
needs: prepare
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: '**/package-lock.json'
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
- run: npm run lint
test-assets:
timeout-minutes: 60
needs: static-check
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: '**/package-lock.json'
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
- run: npm run test:coverage
- uses: actions/upload-artifact@v3
with:
name: coverage
retention-days: 1
path: |
coverage
test-e2e:
timeout-minutes: 60
needs: static-check
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: '**/package-lock.json'
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
- uses: cypress-io/github-action@v5
with:
env: true
install: false
start: npm run dev -- --host
wait-on: 'http://localhost:5173'
browser: chrome
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress
retention-days: 1
path: |
cypress/videos
cypress/screenshots
report-coverage:
timeout-minutes: 30
needs: test-assets
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: '**/package-lock.json'
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/download-artifact@v3
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}