Skip to content

build(deps): bump postcss from 8.4.23 to 8.4.31 (#113) #50

build(deps): bump postcss from 8.4.23 to 8.4.31 (#113)

build(deps): bump postcss from 8.4.23 to 8.4.31 (#113) #50

Workflow file for this run

name: Release
on:
push:
branches: [master, next]
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install
run: npm ci
- name: Run Unit Test
run: npm run test:unit
- name: Build
if: ${{ github.ref == 'refs/heads/master' }}
run: npm run build:demo
- name: Run E2E Test
uses: cypress-io/github-action@v5
with:
start: npm run preview
record: true
browser: chrome
env:
# Recommended: pass the GitHub token lets this action correctly
# determine the unique run id necessary to re-run the checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- name: Deploy to vue-live.surge.sh
if: ${{ github.ref == 'refs/heads/master' }}
uses: dswistowski/surge-sh-action@v1
with:
domain: "vue-live.surge.sh"
project: "./dist/"
login: ${{ secrets.SURGE_LOGIN }}
token: ${{ secrets.SURGE_TOKEN }}
- name: Build
run: npm run build:lib
- name: Typings
run: npm run types:lib
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}