Skip to content

Commit

Permalink
ci: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
atomicpages committed Jun 20, 2022
1 parent 976e25e commit 6c8a9d9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifacts@master
- uses: actions/upload-artifact@v3
with:
name: bundle
path: pkg
Expand All @@ -41,7 +41,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
if: github.ref === 'refs/heads/main'
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -50,12 +50,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
run: npm ci
- name: Release
uses: actions/download-artifact@master
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: bundle
path: pkg
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 6c8a9d9

Please sign in to comment.