Skip to content

🐛 fix npm publish by creating dedicated .npmignore #13

🐛 fix npm publish by creating dedicated .npmignore

🐛 fix npm publish by creating dedicated .npmignore #13

Workflow file for this run

name: build and deploy
on: [push]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
registry-url: "https://registry.npmjs.org"
- run: npm ci # install dependencies
- run: npm run build # or any other step to build your package
- run: npm publish # publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # in der GitHub it-at-m Orga zentral hinterlegter Token