Skip to content

feat: added new set of icons (#209) #175

feat: added new set of icons (#209)

feat: added new set of icons (#209) #175

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: actions/[email protected]
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
always-auth: true
cache: npm
- name: Install npm dependencies
run: |
npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Build
run: npm run build
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: "@washingtonpost/wpds-assets"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- run: |
npm install
npm run build
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
if: ${{ steps.release.outputs.release_created }}