Skip to content

v1.0.1 add new patterns to lithology collection #18

v1.0.1 add new patterns to lithology collection

v1.0.1 add new patterns to lithology collection #18

Workflow file for this run

name: Publishing Package to Registries
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- name: Setup Node.js Environment
uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: "https://registry.npmjs.org"
- name: Install Dependencies
run: npm ci
- name: Publish to NPM Registry
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Switch to GitHub Package Registry
run: npm config set registry "https://npm.pkg.github.com"
- name: Publish to GitHub Package Registry
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}