ensure tests

This commit is contained in:
Jacob Nguyen
2024-06-08 13:41:22 -05:00
parent 3758f42c50
commit d761ab8bcd
2 changed files with 20 additions and 53 deletions

View File

@@ -1,37 +0,0 @@
name: Continuous Delivery
on:
push:
branches:
- main
paths:
- 'packages/localizer/*'
jobs:
Publish:
name: Publishing Dev
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Install Node.js dependencies
run: yarn
- name: Build
run: npm run build
working-directory: ./packages/localizer
- name: Publish to npm
run: |
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
working-directory: ./packages/localizer