Skip to content

Update docs and add simple test for readme encoding examples (#107) #52

Update docs and add simple test for readme encoding examples (#107)

Update docs and add simple test for readme encoding examples (#107) #52

Workflow file for this run

name: Publish NPM @next
on:
push:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '18.18.2'
registry-url: 'https://registry.npmjs.org'
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install 💾
run: npm ci
- name: Version ⬆️
run: npm version --new-version "v0.0.0-${FULL_SHA:0:6}" --no-git-tag-version
env:
FULL_SHA: ${{ github.sha }}
- name: Publish @next 🚂
run: npm publish --tag next --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}