Skip to content

Commit

Permalink
Testing CI (#1)
Browse files Browse the repository at this point in the history
* fix(ci): fix ci

* chore: up

* chore: up
  • Loading branch information
nnishimura authored Jul 20, 2021
1 parent 6a79bba commit 276b7d9
Show file tree
Hide file tree
Showing 5 changed files with 5,442 additions and 4,434 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package
name: Publish

on:
release:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
# This workflow will do a clean install of node dependencies, cache/restore them, 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
name: PullRequest

on:
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -24,7 +20,11 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm lint
- run: npm test
- name: install
run: npm ci
- name: build
run: npm run build --if-present
- name: lint
run: npm run lint
- name: test
run: npm test
Loading

0 comments on commit 276b7d9

Please sign in to comment.