Skip to content

Publish BETA package to NPM #58

Publish BETA package to NPM

Publish BETA package to NPM #58

Workflow file for this run

name: Publish BETA package to NPM
on:
workflow_dispatch:
push:
tags: ['beta*.*']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
scope: '@aws'
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm test
- run: cd ./cloudscape-wrapper
- run: npm ci && npm run build
- run: cd ..
- run: npm publish --tag beta --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}