Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

chore(build): Add deno.json and mod.ts, update the build workflows an… #29

chore(build): Add deno.json and mod.ts, update the build workflows an…

chore(build): Add deno.json and mod.ts, update the build workflows an… #29

Workflow file for this run

name: Publish NPM Package
on:
push:
branches: [master]
jobs:
test:
name: Test
uses: ./.github/workflows/tests.yml

Check failure on line 10 in .github/workflows/npm-publish.yml

View workflow run for this annotation

GitHub Actions / Publish NPM Package

Invalid workflow file

The workflow is not valid. In .github/workflows/npm-publish.yml (Line: 10, Col: 11): Error from called workflow hckhanh/read-vn-number/.github/workflows/tests.yml@efb183124768107c779c58c0b769bec1c99d6ca3 (Line: 26, Col: 12): Job 'test' depends on unknown job 'check'.
secrets: inherit
publish-npm:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
- name: Build commonjs, es6, esnext and amd
run: |
yarn build:cjs
yarn build:es
yarn build:types
- name: Publish to npm
run: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}