Skip to content

Commit

Permalink
Not sure what's up with this CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Feb 9, 2024
1 parent b6b8462 commit 64ca63e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ jobs:
uses: denoland/setup-deno@v1

- uses: dprint/[email protected]
if: runner.os == 'Linux'
if: runner.os == 'ubuntu-latest'

- name: lint
if: runner.os == 'Linux'
if: runner.os == 'ubuntu-latest'
run: deno lint

- name: test
run: deno test -A

- name: Get tag version
if: startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux'
if: startsWith(github.ref, 'refs/tags/') && runner.os == 'ubuntu-latest'
id: get_tag_version
run: echo TAG_VERSION=${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT
- uses: actions/setup-node@v3
Expand All @@ -45,7 +45,7 @@ jobs:
- name: npm build
run: deno run -A ./scripts/build_npm.ts ${{steps.get_tag_version.outputs.TAG_VERSION}}
- name: npm publish
if: startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux'
if: startsWith(github.ref, 'refs/tags/') && runner.os == 'ubuntu-latest'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: cd npm && npm publish

0 comments on commit 64ca63e

Please sign in to comment.