Skip to content

build(deps-dev): update chroma-js to ^2.4.2 #436

build(deps-dev): update chroma-js to ^2.4.2

build(deps-dev): update chroma-js to ^2.4.2 #436

Workflow file for this run

name: ⚙🚀
on:
push:
branches: [main, "**.x", next, beta, alpha]
pull_request:
types: [opened, synchronize]
jobs:
test_build:
name: Test and Build ⚙⚛
strategy:
matrix:
os: [ubuntu-latest]
node: [17.x, "lts/*"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Use NodeJS ${{ matrix.node }} 📦
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
cache: yarn
- name: Install Dependencies ✨
run: yarn --immutable --check-cache
- name: Run Linter 👨🏻‍💻
run: yarn lint
- name: Run Formatter 💅
run: yarn format
- name: Build Theme 🎁
run: yarn build
release:
name: Release ✨🚀
runs-on: ubuntu-latest
needs: test_build
if: github.event_name == 'push'
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Use NodeJS LTS 📦
uses: actions/[email protected]
with:
node-version: "lts/*"
cache: yarn
- name: Install Dependencies ✨
run: yarn --immutable --check-cache
- name: Install vsce 💻
run: npm install -g vsce
- name: Release 🚀
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: |
yarn build
yarn semantic-release