Skip to content

fix the repo url

fix the repo url #2

Workflow file for this run

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Release to NPM
on:
push:
branches:
- 'main'
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
steps:
- name: Checkout 🛎
uses: actions/checkout@master
- name: Setup git
uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
token: '${{ secrets.GITHUB_TOKEN }}'
name: 'JamieCurnow'
email: 'jamie@island-web.ca'
actor: 'jamiecurnow'
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Cache node modules
uses: actions/cache@v3
id: cache-nodemodules
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in on Linux/macOS
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install project dependencies 👨🏻‍💻
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: npm ci
- name: Build and release
run: npm run release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}