Skip to content

Commit

Permalink
create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahrainbow authored Jul 8, 2021
1 parent 9204f88 commit e4ca338
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This is a basic workflow to help you get started with Actions

name: CI

name: Node.js Package
on:
# release:
# types: [created]
push:
branches:
-github-actions-test
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v2
with:
node-version: '12.18.4'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run publish-dry
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit e4ca338

Please sign in to comment.