Skip to content

v2.3.0-8

v2.3.0-8 #76

Workflow file for this run

name: Publish
on:
push:
tags:
- '**' # Listen to push of every tag format, including hierarchical tags like v1.0/beta
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- name: Create release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
- name: Install dependencies
run: |
cd lib/functions/assets-cleanup && yarn install --frozen-lockfile && yarn install-layer && cd ../../..
cd lib/functions/access-logs-analysis/group-by-date && yarn install --frozen-lockfile && yarn install-layer && cd ../../../..
cd lib/functions/access-logs-analysis/partitioning && yarn install --frozen-lockfile && yarn install-layer && cd ../../../..
yarn install --frozen-lockfile
- name: Build project
run: |
cd lib/functions/assets-cleanup && yarn build && cd ../../..
cd lib/functions/access-logs-analysis/group-by-date && yarn build && cd ../../../..
cd lib/functions/access-logs-analysis/partitioning && yarn build && cd ../../../..
yarn build
- name: Publish
run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}