chore(release): Publish 0.2.2 of @otjs Packages #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
--- | |
name: Deployment | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
deploy: | |
name: Deploy Package | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ["20.10"] | |
pnpm-version: [8] | |
steps: | |
- uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev | |
version: 1.0 | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: ${{ matrix.pnpm-version }} | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "pnpm" | |
node-version: ${{ matrix.node-version }} | |
registry-url: "https://registry.npmjs.org" | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Build Artifacts | |
run: pnpm build | |
- name: Publish to NPM | |
run: lerna publish from-git --yes --no-verify-access | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |