Skip to content

Commit

Permalink
fix(ci): attempts CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jshor committed Nov 22, 2023
1 parent 9ea111d commit e3b769d
Showing 1 changed file with 49 additions and 49 deletions.
98 changes: 49 additions & 49 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
strategy:
matrix:
os: [windows-2019, macos-latest, ubuntu-latest]
node-version: [16, 18, 20]
os: [ubuntu-latest]
node-version: [20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
Expand All @@ -35,10 +35,10 @@ jobs:
run: yarn release
- name: Build binaries
run: yarn build
- name: Run tests
run: yarn test
- name: Report coverage
run: yarn codecov
# - name: Run tests
# run: yarn test
# - name: Report coverage
# run: yarn codecov
- name: Upload js bundle
uses: actions/upload-artifact@v2
with:
Expand All @@ -50,30 +50,30 @@ jobs:
name: binary-artifact
path: build/stage

deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Pull latest
run: git pull origin master
- name: Install Vuepress
run: yarn add vuepress@next -D
- name: Build documentation
run: yarn docs:build
- name: Create CNAME Record
run: echo "symbology.dev" > build/docs/CNAME
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_CONFIG_NAME: ${{ env.GIT_USER }}
GIT_CONFIG_EMAIL: ${{ env.GIT_EMAIL }}
BRANCH: gh-pages
FOLDER: build/docs
CLEAN: true
# deploy:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# with:
# persist-credentials: false
# - name: Pull latest
# run: git pull origin master
# - name: Install Vuepress
# run: yarn add vuepress@next -D
# - name: Build documentation
# run: yarn docs:build
# - name: Create CNAME Record
# run: echo "symbology.dev" > build/docs/CNAME
# - name: Deploy to GitHub Pages
# uses: JamesIves/github-pages-deploy-action@3.7.1
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GIT_CONFIG_NAME: ${{ env.GIT_USER }}
# GIT_CONFIG_EMAIL: ${{ env.GIT_EMAIL }}
# BRANCH: gh-pages
# FOLDER: build/docs
# CLEAN: true

release:
needs: build
Expand Down Expand Up @@ -113,22 +113,22 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish-npm:
needs: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Pull latest
run: git pull origin master
- name: Download js bundle
uses: actions/download-artifact@v2
with:
name: js-bundle
path: dist
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# publish-npm:
# needs: release
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Pull latest
# run: git pull origin master
# - name: Download js bundle
# uses: actions/download-artifact@v2
# with:
# name: js-bundle
# path: dist
# - uses: actions/setup-node@v1
# with:
# node-version: 14
# registry-url: https://registry.npmjs.org/
# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit e3b769d

Please sign in to comment.