Skip to content

build(deps-dev): update postcss-preset-env to ^6.7.2 #198

build(deps-dev): update postcss-preset-env to ^6.7.2

build(deps-dev): update postcss-preset-env to ^6.7.2 #198

Workflow file for this run

name: Continuous Integration and Continuous Delivery βš™πŸš€
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
jobs:
build:
name: Check and Build πŸ‘·β€β™‚οΈ
strategy:
matrix:
os: [ubuntu-latest]
node: [14.x, "lts/*"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v2.4.0
- name: Use NodeJS ${{ matrix.node }} πŸ“¦
uses: actions/setup-node@v2.4.1
with:
node-version: ${{ matrix.node }}
cache: yarn
cache-dependency-path: "**/yarn.lock"
- name: Install and Check πŸ‘¨β€πŸ’»
run: |
yarn install --frozen-lockfile --check-files
yarn build
- name: Update Browserlist πŸ•΅οΈβ€β™‚οΈ
run: npx browserslist@latest --update-db
- name: Build πŸ”§
run: yarn build
deploy:
name: Deploy to production βœ¨πŸš€
needs: build
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
strategy:
matrix:
os: [ubuntu-latest]
node: ["lts/*"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v2.4.0
- name: Use NodeJS ${{ matrix.node }} πŸ“¦
uses: actions/setup-node@v2.4.1
with:
node-version: ${{ matrix.node }}
cache: yarn
cache-dependency-path: "**/yarn.lock"
- name: Install and Build πŸ”§
run: |
yarn install --frozen-lockfile --check-files
npx browserslist@latest --update-db
yarn build:webpack
- name: Deploy πŸš€
uses: peaceiris/actions-gh-pages@v3.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
cname: soccerman.latipun.dev