major cleanup (part 1) #66
2 changed files with 27 additions and 27 deletions
16
.github/workflows/release.yaml
vendored
16
.github/workflows/release.yaml
vendored
|
@ -59,14 +59,14 @@ jobs:
|
|||
GH_RELEASE: 1
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: node scripts/publish.js ${{ steps.find.outputs.modified }}
|
||||
- uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version: '1.45.5'
|
||||
- name: Build packages and publish to JSR
|
||||
env:
|
||||
JSR: 1
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: node scripts/publish.js ${{ steps.find.outputs.modified }}
|
||||
# - uses: denoland/setup-deno@v1
|
||||
# with:
|
||||
# deno-version: '1.45.5'
|
||||
# - name: Build packages and publish to JSR
|
||||
# env:
|
||||
# JSR: 1
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# run: node scripts/publish.js ${{ steps.find.outputs.modified }}
|
||||
- name: Commit version bumps
|
||||
run: |
|
||||
git commit -am "v${{ steps.bump.outputs.version }}"
|
||||
|
|
38
.github/workflows/test.yaml
vendored
38
.github/workflows/test.yaml
vendored
|
@ -110,22 +110,22 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
REGISTRY: 'https://npm.tei.su'
|
||||
run: cd e2e/node && ./cli.sh ci-publish
|
||||
e2e-deno:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint, test-node, test-web, test-bun, test-deno]
|
||||
permissions:
|
||||
contents: read
|
||||
actions: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run end-to-end tests under Deno
|
||||
env:
|
||||
API_ID: ${{ secrets.TELEGRAM_API_ID }}
|
||||
API_HASH: ${{ secrets.TELEGRAM_API_HASH }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
uses: nick-fields/retry@v2
|
||||
# thanks docker networking very cool
|
||||
with:
|
||||
max_attempts: 3
|
||||
timeout_minutes: 30
|
||||
command: cd e2e/deno && ./cli.sh ci
|
||||
# e2e-deno:
|
||||
# runs-on: ubuntu-latest
|
||||
# needs: [lint, test-node, test-web, test-bun, test-deno]
|
||||
# permissions:
|
||||
# contents: read
|
||||
# actions: write
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - name: Run end-to-end tests under Deno
|
||||
# env:
|
||||
# API_ID: ${{ secrets.TELEGRAM_API_ID }}
|
||||
# API_HASH: ${{ secrets.TELEGRAM_API_HASH }}
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# uses: nick-fields/retry@v2
|
||||
# # thanks docker networking very cool
|
||||
# with:
|
||||
# max_attempts: 3
|
||||
# timeout_minutes: 30
|
||||
# command: cd e2e/deno && ./cli.sh ci
|
||||
|
|
Loading…
Reference in a new issue