mirror of
https://github.com/denoland/deno.git
synced 2025-12-23 08:48:24 +00:00
ci: add workflow to run package managers under deno (#31070)
This commit adds a workflow that runs on a schedule (once per day) that runs a quick integration test for other package manager running in Deno.
This commit is contained in:
parent
d9b87e19b2
commit
6692895b17
3 changed files with 211 additions and 0 deletions
39
.github/workflows/ecosystem_compat_test.yml
vendored
Normal file
39
.github/workflows/ecosystem_compat_test.yml
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
name: ecosystem_compat_test
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 10 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: '${{ matrix.runner }}'
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
runner: ubuntu-latest
|
||||
- os: windows
|
||||
runner: windows-latest
|
||||
- os: darwin
|
||||
runner: macos-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- name: Setup Deno
|
||||
uses: denoland/setup-deno@v2
|
||||
with:
|
||||
deno-version: canary
|
||||
- name: Setup gcloud
|
||||
uses: google-github-actions/setup-gcloud@v2
|
||||
with:
|
||||
project_id: denoland
|
||||
- name: Run tests
|
||||
run: deno -A tools/ecosystem_compat_tests.ts
|
||||
- name: Post message to slack channel
|
||||
run: deno -A tools/ecosystem_compat_slack.ts
|
||||
env:
|
||||
SLACK_TOKEN: ${{ secrets.NODE_COMPAT_SLACK_TOKEN }} # NodeCompat bot
|
||||
SLACK_CHANNEL: ${{ secrets.NODE_COMPAT_SLACK_CHANNEL }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue