mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-10 19:18:59 +08:00
Create deno.yml
This commit is contained in:
parent
228a9534d1
commit
c3478210af
35
.github/workflows/deno.yml
vendored
Normal file
35
.github/workflows/deno.yml
vendored
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
name: Publish NPM
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
package:
|
||||||
|
required: true
|
||||||
|
description: 'core, artifact, cache, exec, github, glob, io, tool-cache'
|
||||||
|
version:
|
||||||
|
required: true
|
||||||
|
description: 'the version of the package to publish'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Setup repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: npm install
|
||||||
|
run: npm install
|
||||||
|
|
||||||
|
- name: bootstrap
|
||||||
|
run: npm run bootstrap
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: npm run test
|
||||||
|
|
||||||
|
- name: echo inputs
|
||||||
|
run: echo ${{ github.event.inputs.package }} ${{ github.event.inputs.version }}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user