Skip to content

Merge pull request #137 from sasza2/develop #36

Merge pull request #137 from sasza2/develop

Merge pull request #137 from sasza2/develop #36

Workflow file for this run

name: Deployment production
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '17.3.0'
registry-url: 'https://registry.npmjs.org'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies and build
run: pnpm i --frozen-lockfile && pnpm lint && pnpm test run && pnpm build
- name: Publish package
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}