chore(port-data): release 2.3.0 #20
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
name: 💾 Test & Deploy Data Port | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "packages/port-data/**" | |
push: | |
branches: | |
- main | |
paths: | |
- "packages/port-data/**" | |
tags: | |
- 'hyper-port-data@*' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
deno-version: [1.x] | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: 🦕 Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: ${{ matrix.deno-version }} | |
- name: ⚡ Run Tests | |
run: | | |
cd packages/port-data | |
deno task test | |
env: | |
CI: true | |
publish: | |
if: startsWith(github.ref, 'refs/tags/hyper-port-data@') | |
needs: [test] | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: 🦕 Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
# - name: 🥚 Setup Eggs CLI | |
# run: | | |
# deno install -A -f --unstable --no-check https://x.nest.land/[email protected]/eggs.ts | |
# export PATH="/home/runner/.deno/bin:$PATH" | |
# eggs link ${{ secrets.NESTAPIKEY }} | |
# - name: 📘 Publish to Nest | |
# run: | | |
# cd packages/port-data | |
# eggs publish --yes |