Skip to content

Commit

Permalink
ini github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff committed Jul 16, 2020
1 parent f65dbb9 commit 3dc53f0
Show file tree
Hide file tree
Showing 4 changed files with 1,422 additions and 257 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Tests
on: [push, pull_request]
env:
CI: true

jobs:
run:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node: [10, 12, 14]
os: [ubuntu-latest, windows-latest]

steps:
- name: Clone repository
uses: actions/checkout@v2

- name: Set Node.js version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}

- run: node --version
- run: npm --version

- name: Install npm dependencies
run: npm ci

- name: Run tests
run: npm test

# We test multiple Windows shells because of prior stdout buffering issues
# filed against Grunt. https://github.com/joyent/node/issues/3584
- name: Run PowerShell tests
run: "npm test # PowerShell" # Pass comment to PS for easier debugging
shell: powershell
if: startsWith(matrix.os, 'windows')
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# grunt-contrib-uglify v4.0.1 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-uglify.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-uglify) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/ybtf5vbvtenii561/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-uglify/branch/master)
# grunt-contrib-uglify v4.0.1 [![Build Status](https://github.com/gruntjs/grunt-contrib-uglify/workflows/Tests/badge.svg)](https://github.com/gruntjs/grunt-contrib-uglify/actions?workflow=Tests)

> Minify JavaScript files with UglifyJS
Expand Down Expand Up @@ -525,6 +525,7 @@ grunt.initConfig({

## Release History

* 2019-03-21   v4.0.1   Update uglify-js to v3.5.0. Update dependencies.
* 2018-08-26   v4.0.0   Update dependencies. Requires Node.js >= 6.
* 2018-07-29   v3.4.0   Update uglify-js to v3.4.0.
* 2017-12-24   v3.3.0   Update uglify-js to v3.3.0.
Expand Down Expand Up @@ -575,4 +576,4 @@ grunt.initConfig({

Task submitted by ["Cowboy" Ben Alman](http://benalman.com)

*This file was generated on Thu Mar 21 2019 14:11:06.*
*This file was generated on Thu Jul 16 2020 09:53:59.*
Loading

0 comments on commit 3dc53f0

Please sign in to comment.