Skip to content

feat: Release pipeline #22

feat: Release pipeline

feat: Release pipeline #22

Workflow file for this run

name: PR build
on:
pull_request:
jobs:
build:
if: "!contains(github.event.pull_request.labels.*.name, 'nobuild')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
registry-url: 'https://npm.pkg.github.com'
scope: '@weka'
always-auth: true
- run: yarn install
- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.PACKAGES_TOKEN }}" >> ~/.npmrc
- run: yarn login --registry=npm.pkg.github.com --non-interactive
- run: yarn publish