Skip to content

Commit

Permalink
ci: update actions ci to use setup-node@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
bchew committed Sep 30, 2021
1 parent 7099b5f commit 9261344
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ node-migrations
============

[![npm version](https://badge.fury.io/js/migrations.svg)](https://badge.fury.io/js/migrations)
![Build Status](https://github.com/Adslot/node-migrations/workflows/Node.js%20CI/badge.svg)
![Build Status](https://github.com/Adslot/node-migrations/actions/workflows/node.js.yml/badge.svg)

Data agnostic migrations

Expand Down

0 comments on commit 9261344

Please sign in to comment.