Skip to content

npm(deps-dev): bump postcss from 8.4.29 to 8.4.30 #630

npm(deps-dev): bump postcss from 8.4.29 to 8.4.30

npm(deps-dev): bump postcss from 8.4.29 to 8.4.30 #630

Workflow file for this run

name: Push to master
on:
push:
branches:
- master
- next
tags-ignore:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Setup node'
uses: actions/[email protected]
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: 'Install dependencies'
run: npm ci
- name: 'Build library'
run: npm run build
- name: 'Upload dist folder'
uses: actions/[email protected]
with:
name: ${{ github.event.repository.name }}
path: dist/canopy/
release:
needs: [ build ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Setup node'
uses: actions/[email protected]
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: 'Install dependencies'
run: npm ci
- name: 'Download dist folder'
uses: actions/download-artifact@v3
with:
name: ${{ github.event.repository.name }}
path: dist/canopy/
- name: 'Zip library'
run: zip -r dist/canopy.zip dist/canopy
- name: 'Release'
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
deploy:
needs: [ build ]
if: github.ref_name == 'master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Setup node'
uses: actions/[email protected]
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: 'Install dependencies'
run: npm ci
- name: 'Download dist folder'
uses: actions/download-artifact@v3
with:
name: ${{ github.event.repository.name }}
path: dist/canopy/
- name: 'Deployment to GitHub Pages'
uses: actions/github-script@v6
with:
script: |
const deployBranch = require('./.github/workflow-scripts/gh-pages/deploy.js');
await deployBranch({
branch: 'master',
sha: '${{ github.sha }}',
github,
context,
exec,
core
});