Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitrov-adrian committed Jan 16, 2022
1 parent ba417db commit ad9381f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,27 @@ on:
types: [created]

jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: npm ci
- run: npm run build
- name: Upload Artifact
uses: softprops/action-gh-release@v1
with:
files: |
dist/index.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"devDependencies": {
"@directus/extensions-sdk": "^9.2.1",
"@sindresorhus/slugify": "^2.1.0",
"directus-codestyle": "github:dimitrov-adrian/directus-codestyle",
"directus-codestyle": "https://github.com/dimitrov-adrian/directus-codestyle.git",
"micromustache": "^8.0.3",
"typescript": "^4.5.2"
},
Expand Down

0 comments on commit ad9381f

Please sign in to comment.