Skip to content

chore(deps): Bump the dependencies group across 1 directory with 27 updates #53

chore(deps): Bump the dependencies group across 1 directory with 27 updates

chore(deps): Bump the dependencies group across 1 directory with 27 updates #53

Workflow file for this run

name: CI/CD
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint SCSS
run: yarn css-lint
- name: Build CSS
run: yarn css
- name: Upload build artifacts
uses: actions/upload-artifact@v5
with:
name: dist
path: dist/
publish:
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20.x'
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build CSS
run: yarn css
- name: Publish to NPM
uses: JS-DevTools/npm-publish@v4
with:
token: ${{ secrets.NPM_TOKEN }}