Skip to content

Commit

Permalink
Merge pull request #40 from primer/actions-v2
Browse files Browse the repository at this point in the history
Actions v2
  • Loading branch information
shawnbot committed Sep 9, 2019
2 parents 690e088 + ca6b633 commit eab997a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 33 deletions.
31 changes: 0 additions & 31 deletions .github/main.workflow

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,20 @@
name: CI
on: [push]
jobs:
all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
version: 11
- name: install
run: npm install
- name: lint
run: npm run lint
- name: test
run: npm test
- uses: primer/publish@v1.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
2 changes: 0 additions & 2 deletions .npmrc
@@ -1,3 +1 @@
save=true
save-exact=true
git-tag-version=false

0 comments on commit eab997a

Please sign in to comment.