Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

fixing test step

fixing test step #156

Workflow file for this run

name: "build-test"
on:
push:
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Node.js version
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- run: |
export NODE_OPTIONS=--openssl-legacy-provider
npm install
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
path: "*.xml"
access-token: ${{secrets.GITHUB_TOKEN}}
release:
runs-on: ubuntu-latest
needs: [build, test]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Release
uses: cycjimmy/semantic-release-action@v2
with:
extra_plugins: |
@semantic-release/exec
@semantic-release/changelog
@semantic-release/git
branch: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}