From 2ac539948bc81cb1d1d30a5516553b3a083468ce Mon Sep 17 00:00:00 2001 From: Avery Harnish Date: Thu, 6 Aug 2020 10:52:44 -0500 Subject: [PATCH] test npm installer every 6 hours --- .github/workflows/install.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/install.yml diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml new file mode 100644 index 000000000..fe8dcf517 --- /dev/null +++ b/.github/workflows/install.yml @@ -0,0 +1,35 @@ +name: Installation + +on: + schedule: + # this must be quoted because * is special char + # this runs every 6 hours + # see https://crontab.guru/#0_*/6_*_*_* + - cron: '0 */6 * * *' + +jobs: + npm: + name: Install from npm + runs-on: ${{ matrix.os }} + strategy: + matrix: + target: + [ + linux, + macos, + windows, + ] + include: + - target: linux + os: ubuntu-latest + - target: macos + os: macos-latest + - target: windows + os: windows-latest + + steps: + - name: Install Node + uses: actions/setup-node@v1 + + - name: Install Wrangler + run: npm install -g @cloudflare/wrangler