diff --git a/.github/workflows/update-feed.yaml b/.github/workflows/update-feed.yaml index 76e7ed6..6f8c360 100644 --- a/.github/workflows/update-feed.yaml +++ b/.github/workflows/update-feed.yaml @@ -20,10 +20,10 @@ jobs: uses: actions/setup-node@v2.1.4 with: node-version: "14" - - name: Install osmosfeed - run: npm i @osmoscraft/osmosfeed@^1.0.0 + - name: Install dependencies + run: npm i - name: Build the feed - run: npx osmosfeed + run: npm run build - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: diff --git a/.gitignore b/.gitignore index fc1666b..9f98040 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ public -node_modules \ No newline at end of file +node_modules +package-lock.json \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..ede8242 --- /dev/null +++ b/package.json @@ -0,0 +1,23 @@ +{ + "name": "osmosfeed-template", + "version": "1.0.0", + "description": "Use this template to create the UI and content of an RSS feed reader.", + "main": "index.js", + "scripts": { + "build": "osmosfeed" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/osmoscraft/osmosfeed-template.git" + }, + "keywords": [], + "author": "osmoscraft", + "license": "MIT", + "bugs": { + "url": "https://github.com/osmoscraft/osmosfeed-template/issues" + }, + "homepage": "https://github.com/osmoscraft/osmosfeed-template#readme", + "dependencies": { + "@osmoscraft/osmosfeed": "^1.2.2" + } +}