Skip to content

⬆️ Bump postcss from 8.4.21 to 8.4.31 (#1203) #192

⬆️ Bump postcss from 8.4.21 to 8.4.31 (#1203)

⬆️ Bump postcss from 8.4.21 to 8.4.31 (#1203) #192

Workflow file for this run

# This workflow takes care of releasing a new version of the package and publishing it to NPM
# when a new releasable change is pushed to master (the releasability is detected using the commits' Gitmojis)
# To learn more about the releasability of the change see: https://github.com/carloscuesta/gitmoji/pull/692
name: Release and publish
on:
push:
branches:
- master
- beta
jobs:
release-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout🚪
uses: actions/checkout@v2
- name: Read .nvmrc 🔍
run: echo "::set-output name=NODE_VERSION::$(cat .nvmrc)"
id: nvm
- name: Set up the right node version 📌
uses: actions/setup-node@v1
with:
node-version: ${{ steps.nvm.outputs.NODE_VERSION }}
- name: Install dependencies ⚙️
run: npm ci
- name: Compile TypeScript
run: npm run build:tsc
- name: Release and publish 📤
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm run semantic-release