Skip to content

Commit

Permalink
Merge pull request #30 from drashland/issue-#28-add-bumper
Browse files Browse the repository at this point in the history
Issue #28 add bumper
  • Loading branch information
Guergeiro authored Jun 30, 2020
2 parents a18155d + 2077b69 commit 1ae00b1
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/bumper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: bumper
on:
schedule:
- cron: '0 0 * * *'

jobs:
update-dep:
strategy:
matrix:
deno: ["1.1.1"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install Deno
uses: denolib/setup-deno@master
with:
deno-version: ${{ matrix.deno }}

- name: Update Dependencies
run: deno run --allow-net --allow-read --allow-write mod.ts update

- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.CI_USER_PAT }}
commit-message: Update dependencies
title: Update dependencies
body: This was auto-generated by GitHub Actions.
branch: update-dependencies
4 changes: 4 additions & 0 deletions DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@

* Run tests

* Update `deps.ts`

* Commit: `git commit -m "upgrade deno to [version]`

* Update `version` in `src/options/version.ts` to reflect the new release version of dmm

* Update `bumper.yml`

# Release a New Dmm Version

* Update `version` in `src/options/version.ts` to reflect the new release version of dmm
Expand Down
4 changes: 2 additions & 2 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as colours from "https://deno.land/std@0.56.0/fmt/colors.ts";
import * as colours from "https://deno.land/std@0.59.0/fmt/colors.ts";
export { colours };

export { assertEquals } from "https://deno.land/std@0.56.0/testing/asserts.ts";
export { assertEquals } from "https://deno.land/std@0.59.0/testing/asserts.ts";

0 comments on commit 1ae00b1

Please sign in to comment.