Skip to content

Added createdAt and updatedAt to product and price entities (#15) #9

Added createdAt and updatedAt to product and price entities (#15)

Added createdAt and updatedAt to product and price entities (#15) #9

name: Publish to latest Tag
on:
push:
branches:
- main
jobs:
run-publish:
name: Run publish
runs-on: ubuntu-latest
permissions:
contents: read
actions: write
steps:
- name: Check out git repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: "yarn"
registry-url: 'https://registry.npmjs.org'
- name: Install yarn dependencies
run: yarn install
- name: Build
run: yarn build
- name: Test
run: yarn test
- name: Publish
run: yarn publish:latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}