Skip to content

Merge pull request #36 from lingo-app/chunky-uploads #40

Merge pull request #36 from lingo-app/chunky-uploads

Merge pull request #36 from lingo-app/chunky-uploads #40

Workflow file for this run

on:
push:
branches:
- "master"
name: Master
jobs:
test:
name: Test & Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "20.12.2"
cache: yarn
scope: "@lingo-app"
- name: Install
run: yarn
- name: Validate
run: yarn validate
- name: Test
run: yarn test
- name: Build
run: yarn build
- name: Deploy NPM
run: |
yarn npm publish --tolerate-republish
env:
NPM_REGISTRY: https://registry.npmjs.org/
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH }}
- name: Deploy GITHUB
run: |
yarn npm publish --tolerate-republish
env:
NPM_REGISTRY: https://npm.pkg.github.com
NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}