Skip to content

Merge branch 'main' of https://github.com/JabirDeveloper/material-sym… #36

Merge branch 'main' of https://github.com/JabirDeveloper/material-sym…

Merge branch 'main' of https://github.com/JabirDeveloper/material-sym… #36

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
jobs:
publish:
name: Build, bump & publish to npm
runs-on: ubuntu-latest
container: httptoolkit/act-build-base:v3.0.0
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- name: Clean cache
run: npm cache clean --force
- name: Remove node_modules
run: rm -rf node_modules
- run: npm ci --force
- name: Install dependencies
run: npm install --force
- name: Build package
run: npm run build
- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: npm publish