Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesridgway committed Apr 10, 2023
1 parent 725b591 commit 670e765
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 20 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CD Build and Publish to NPM

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v1

- name: Yarn Install
run: yarn

- name: Lint
run: yarn lint

- name: Jest Tests
run: yarn test:ci

- name: Typescript build
run: yarn build

- name: Set Version to Release Tag Name
run: |
yarn version --new-version ${{ github.event.release.tag_name }} --no-git-tag-version
- uses: actions/setup-node@v3
with:
registry-url: 'https://npm.pkg.github.com'
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38 changes: 19 additions & 19 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: Build & Deploy Storybook
# name: Build & Deploy Storybook

on:
push:
branches:
- master
# on:
# push:
# branches:
# - master

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
with:
persist-credentials: false
# jobs:
# build-and-deploy:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@master
# with:
# persist-credentials: false

- name: Yarn Install
run: yarn install
# - name: Yarn Install
# run: yarn install

- name: Deploy Storybook
run: yarn storybook-to-ghpages --ci
env:
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
# - name: Deploy Storybook
# run: yarn storybook-to-ghpages --ci
# env:
# GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
1 change: 0 additions & 1 deletion src/styles/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// Generic
@import '~nhsuk-frontend/packages/core/generic/box-sizing';
@import '~nhsuk-frontend/packages/core/generic/font-face';
@import '~nhsuk-frontend/packages/core/generic/ie';

// Elements
@import '~nhsuk-frontend/packages/core/elements/forms';
Expand Down

0 comments on commit 670e765

Please sign in to comment.