Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Update README.md

Update README.md #113

Workflow file for this run

name: Release
on:
workflow_dispatch:
branches:
- "main"
push:
branches:
- "next"
jobs:
publish:
runs-on: ubuntu-latest
permissions:
packages: write
contents: write
steps:
- name: Checkout default branch
uses: actions/checkout@v2
- name: Use Node.js 16 (npm repository)
uses: actions/setup-node@v2
with:
node-version: "16"
registry-url: "https://registry.npmjs.org"
scope: "@frontify"
- name: Cache dependencies
id: npm_cache
uses: actions/cache@v2
with:
path: "**/node_modules"
key: node16-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
if: steps.npm_cache.outputs.cache-hit != 'true'
run: npm ci
- name: Build fondue-tokens
run: npm run build
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}