Skip to content

Expose skip on connect and use latest Data Port in Core #45

Expose skip on connect and use latest Data Port in Core

Expose skip on connect and use latest Data Port in Core #45

Workflow file for this run

name: 🪨 Test & Deploy Core
on:
pull_request:
branches:
- main
paths:
- "packages/core/**"
push:
branches:
- main
paths:
- "packages/core/**"
tags:
- 'hyper@*'
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/core
deno task test
env:
CI: true
publish:
if: startsWith(github.ref, 'refs/tags/hyper@')
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/core
# eggs publish --yes