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

feat(Placeholder): add new icon (#270) #273

feat(Placeholder): add new icon (#270)

feat(Placeholder): add new icon (#270) #273

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Node.js Package
on:
release:
types: [created]
push:
branches:
- master
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm version patch --no-git-tag-version
- run: git config --global user.name 'ci' && git config --global user.email '[email protected]'
- run: git add package.json package-lock.json
- run: npm run changelog && git add CHANGELOG.md
- run: git commit -m "version bump"
- run: git push
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
automatic_release_tag: latest