File: nightly.yaml

package info (click to toggle)
node-zrender 5.4.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,644 kB
  • sloc: javascript: 1,259; makefile: 2
file content (33 lines) | stat: -rw-r--r-- 730 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Publish Nightly

on:
  schedule:
    - cron: '0 8 * * *'
  workflow_dispatch: {}
  repository_dispatch:
    types: publish-nightly

jobs:
  build:
    runs-on: ubuntu-latest
    if: ${{ github.repository_owner == 'ecomfe' }}

    strategy:
      matrix:
        node-version: [16.x]

    steps:
      - uses: actions/checkout@v3
      - name: Use Node.js ${{ matrix.node-version }}
        uses: actions/setup-node@v3
        with:
          registry-url: https://registry.npmjs.org/
      - name: Setup and publish nightly
        run: |
          npm run prepare:nightly
          npm ci
          npm run release
          npm run test
          npm publish
        env:
          NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}