Skip to content

chore(deps): update vitest monorepo to v2.1.9 #150

chore(deps): update vitest monorepo to v2.1.9

chore(deps): update vitest monorepo to v2.1.9 #150

Workflow file for this run

name: Lerna Workflow
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Lua and LuaRocks
run: |
sudo apt-get update
sudo apt-get install lua5.1
sudo apt-get install luarocks
- name: Install LuaSocket
run: sudo luarocks install luasocket
- run: npm ci
- run: npm test
- run: npm run test:lua
publish:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- name: Set Git Config
run: |
git config user.name "$(git log -n 1 --pretty=format:%an)"
git config user.email "$(git log -n 1 --pretty=format:%ae)"
- run: npm run publish
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}