Skip to content

[FR-219] Allow normal messages to use masked links #95

[FR-219] Allow normal messages to use masked links

[FR-219] Allow normal messages to use masked links #95

name: Github Package
on:
pull_request:
jobs:
install-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://npm.pkg.github.com'
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{GITHUB_TOKEN}}

Check failure on line 38 in .github/workflows/github-publish.yml

View workflow run for this annotation

GitHub Actions / Github Package

Invalid workflow file

The workflow is not valid. .github/workflows/github-publish.yml (Line: 38, Col: 28): Unrecognized named-value: 'GITHUB_TOKEN'. Located at position 1 within expression: GITHUB_TOKEN