Skip to content

Commit

Permalink
Merge pull request #4 from locol23/fix/change-trigger-timing-of-githu…
Browse files Browse the repository at this point in the history
…b-actions

fix: Change trigger timing of GitHub Actions
  • Loading branch information
locol23 authored Jun 2, 2022
2 parents c3ff6e5 + fe1f3be commit 8f7a047
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
name: npm package
name: Publish npm package to GitHub Packages

on:
release:
types: [created]
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 10
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '16.x'
cache: 'yarn'
registry-url: 'http://npm.pkg.github.com'
registry-url: 'https://npm.pkg.github.com'
scope: '@locol23'
- run: |
yarn
yarn build
Expand Down

0 comments on commit 8f7a047

Please sign in to comment.