Skip to content

Commit

Permalink
👷 Update CI [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary authored Jun 1, 2020
1 parent 02434be commit 92bc614
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 21 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Deno CI
on:
push:
branches:
- master
jobs:
build:
name: ${{ matrix.kind }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
env:
GH_ACTIONS: true
DENO_BUILD_MODE: release
V8_BINARY: true
steps:
- uses: actions/checkout@v2
- name: Setup Deno
uses: denolib/setup-deno@master
with:
deno-version: 1.x
- name: Tests
run: deno test --allow-read
release:
name: Release
runs-on: ubuntu-18.04
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12.17.0
- name: Setup package.json
run: echo '{"name":"@denorg/up","version":"0.0.0","publishConfig":{"access":"public"},"scripts":{"semantic-release":"semantic-release"},"repository":{"type":"git","url":"https://github.com/denorg/up.git"},"author":"Denorg <[email protected]>","license":"MIT","bugs":{"url":"https://github.com/denorg/up/issues"},"homepage":"https://denorg.github.io/up/","devDependencies":{"semantic-release":"^17.0.4","semantic-release-gitmoji":"^1.3.3"}}' > package.json
- name: Install dependencies
run: npm install
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
21 changes: 0 additions & 21 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit 92bc614

Please sign in to comment.